Last active
August 8, 2019 11:20
-
-
Save herotux/8689ce09ed839e636cbd1019bcec2ea9 to your computer and use it in GitHub Desktop.
find mkv files in download directory and move them to videos
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
#!/bi/bash | |
find ~/Downloads -type f -name "*.mkv" -exec mv {} ~/Videos/new-movies \; | |
total= find ~/Downloads -type f -name "*.mkv"|wc -l | |
echo $total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment