Created
May 23, 2018 02:43
-
-
Save avandrevitor/8e8cf28e8a9eb889676d43a263f325d2 to your computer and use it in GitHub Desktop.
Busca todos os arquivos com extensão mp4 na pasta atual e copia mantendo a hierarquia de pastas para o path /tmp/movies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name '*.mp4' -exec cp {} --parents /tmp/movies \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment