Created
June 17, 2014 18:29
-
-
Save trikitrok/6891700dae3a891af523 to your computer and use it in GitHub Desktop.
It deletes all the mp4 files found under the current folder.
-print0 and -0 to avoid that a space in a filename is used as a delimiter -> Explained in http://stackoverflow.com/questions/16758525/how-to-use-xargs-with-filenames-containing-whitespaces
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
find . -name *.mp4 -print0 | xargs -0 rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment