[CentOS] Computer 1A question
Hugh E Cruickshank
hugh at forsoft.com
Sat Aug 5 00:17:26 UTC 2006
From: Seán O Sullivan Sent: August 4, 2006 17:10
>
> Todd Cary wrote:
> > I want to delete all files that have the pattern of "*.zip" in the
> > directory /home/mydir and all sub-directories.
> find /home/mydir -name "*.zip" -type f -print0 | xargs -0 rm
>
Or: find /home/mydir -name "*.zip" -type f -exec rm {} \;
Regards, Hugh
--
Hugh E Cruickshank, Forward Software, www.forward-software.com
More information about the CentOS
mailing list