Linux: Find and delete files/directories recursively in Linux
by Ali on Nov.08, 2008, under Linux
To have the OS find and delete files and directories recursively in Linux try the following command:
find <path> -name <filename> -exec rm -rf {} ;
Example:
find /vmware -name *.log -exec rm -rf {} ;
To find and replace strings within files look here.
To the extent possible under law, the creator has waived all copyright and related or neighboring rights to this work.
February 14th, 2009 on 4:13 PM
[…] you want to find and delete files or directories recursively, look here. :delete recursively No comments for this entry […]