How do I find and delete files?

How do I find and delete files?
Answer
But, the “find -type f” command will recursively search for only files in current directory and all sub-directories. If you only want to find files (not delete), just remove the options -delete or -exec rm {} ; or -exec rm {} + in the above commands.
 

Tìm kiếm

Back
Top