Ronny Haryanto wrote:
On 25-Mar-2003, qwaskita wrote:

rm $(find -mtime +2)


Lebih safe pake null termination dan xargs -0:

find [...] -print0 | xargs -0 [...]

Paranoid++:


find ... -print0 | xargs -r0 rm -f -- ...

File2 dengan awalan '-' tidak menimbulkan getopt() error ;)

--
+-R-| Mozilla 1.0.1 Gecko/2002x |-H-| Powered by Linux 2.4.x |-7-+
|/v\ Agus Budy Wuysang                   MIS Department          |
| |  Phone:  +62-21-344-1316 ext 317     GSM: +62-816-1972-051   |
+------------| http://www.fasw.co.id/person/supes/ |-------------+



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Kirim email ke