TG
·1 min read

Using find with delete flag

Nice command Unix find.

Ler em português
Using find with delete flag

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.

Thiago Marinho

September 7, 2021 · Brazil