Re: The directory that I am trying to clean up is huge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



fred smith wrote:
> On Mon, Jan 25, 2010 at 03:14:54AM -0800, John Doe wrote:
>> From: Anas Alnaffar <a.alnaffar@xxxxxxxxxxxxxxxxx>
>>> I tried to run this command
>>> find -name "*.access*" -mtime +2 -exec rm {} \;
>>> and I have same error message
>> How many "*.access*" are there...?
>>
>> JD
> 
> if there are so many that you're finding the previously suggested
> techniques difficult to use, you can try the brute-force I sometimes
> use...

It actually shouldn't matter.  As long as the wildcards are quoted on the 
command line, you shouldn't get an error from too many files.  I suspect the 
command that was typed wasn't exactly what is shown above.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux