Created
November 14, 2018 23:51
-
-
Save jimkang/087e7ea2572ae59fb4ec4f4fa9888710 to your computer and use it in GitHub Desktop.
Moving every mp4 file in subdirectories into a directory named 'mp4'
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 | |
for file in ./recup_dir*/*.mp4 | |
do | |
mv ${file} mp4 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment