Next: , Previous: Run Commands, Up: Actions



3.4 Delete Files

— Action: -delete

Delete files or directories; true if removal succeeded. If the removal failed, an error message is issued.

The use of the -delete action on the command line automatically turns on the -depth option (see find Expressions).