Re: rm - Arguments too long

From: Alan Coopersmith (alanc@alum.calberkeley.org)
Date: 04/23/03

  • Next message: Bill Marcum: "Re: question regarding removing files under /usr/spool/cron/atjobs"
    From: Alan Coopersmith <alanc@alum.calberkeley.org>
    Date: Wed, 23 Apr 2003 14:39:14 +0000 (UTC)
    
    

    cljlk <cljlk@hotmail.com> writes in comp.unix.solaris:
    |It works for find . -name "something*" | xargs rm -f.
    |Would anyone tell me how to specify day-old file.
    |Let's say, I want to delete 3 days old file, how do I combine together
    |with "find . -name "something*" | xargs rm -f" command.

    See the "time" options in the find man page.

    -- 
    ________________________________________________________________________
    Alan Coopersmith                              alanc@alum.calberkeley.org
    http://www.CSUA.Berkeley.EDU/~alanc/       aka: Alan.Coopersmith@Sun.COM
      Working for, but definitely not speaking for, Sun Microsystems, Inc.
    

  • Next message: Bill Marcum: "Re: question regarding removing files under /usr/spool/cron/atjobs"