[CentOS] The directory that I am trying to clean up is huge
Les Mikesell
lesmikesell at gmail.comWed Jan 27 00:06:04 UTC 2010
- Previous message: [CentOS] The directory that I am trying to clean up is huge
- Next message: [CentOS] The directory that I am trying to clean up is huge
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 1/25/2010 8:49 AM, Chan Chung Hang Christopher wrote: > Anas Alnaffar wrote: >> I tried to run this command >> >> find -name "*.access*" -mtime +2 -exec rm {} \; >> > > Should have been: find ./ -name \*.access\* -mtime +2 -exec rm -f {} \; No difference. If the path is omitted, current versions of find assume the current directory, and double quotes are fine for avoiding shell expansion of wildcards. (But, I'm guessing the quotes were omitted on the command that generated the error). -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] The directory that I am trying to clean up is huge
- Next message: [CentOS] The directory that I am trying to clean up is huge
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list