@tgmarinho
Back to Blog

Using find with delete flag

Nice command Unix find.

September 7, 20211 min read

When you need to remove some files in batch, use this:

find . -name "*.Identifier" -delete

Find like name suggest, will find every file with extension .Identifier and passing the flag -delete will remove all them.

Easy peasy, very usefull.

Written with StackEdit.