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

Re: Bash script question



Am 2006-12-07 15:20:26, schrieb H.S.:
> Stephen R Laniel wrote:

> >find directoryName -mtime +X -print0 |xargs -0 rm '{}'

This can handel daily files for unlimited years

> $> find directoryName -mtime +X -exec rm -f  '{}' \;

This can handel only files from the last 15 years  :-P

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: