How to make a find on GNU Linux bring some files and ignore others

Asked

Viewed 123 times

2

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

1 answer

3

If you want to delete the directory "example"

find . -path ./exemplo -prune -o -name 'arquivo.html'
  • Thank you very much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.