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

Re: Frage der Verständnis



Daniel:
> 
>         find /home/$client/archiv -mtime +2 -exec /bin/rm {} \;

Nebenbei: statt '-exec rm {} \;' kann man bei hinreichend aktuellem
GNU-find auch einfach -delete schreiben. So wird nicht für jede Datei
ein eigener rm-Prozess gestartet. Alternative:

find ... -print0 | xargs -0 rm

J.
-- 
If I could have anything in the world it would have to be more money.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: