Saturday, May 23, 2009

finding and removing certain files in Linux shell

To recursively search all the *.ogg files under the current dir (denoted by .) and delete them, in Linux shell, type:

find . -name \*.ogg -exec rm {} \;

No comments:

Post a Comment