How to make a find in GNU Linux bring some files and ignore others [closed]

2

How to make a find in GNU Linux bring all files of a folder, ignoring the files of a specific subdirectory.

    
asked by anonymous 28.10.2014 / 01:25

1 answer

3

If you want to delete the "example" directory

find . -path ./exemplo -prune -o -name 'arquivo.html'
    
28.10.2014 / 01:40