From: David C. <li...@ed...> - 2004-10-21 11:30:40
|
Jeff Davis wrote: > On Mon, 2004-10-18 at 18:25 -0400, Lars Kellogg-Stedman wrote: >>>> # mount -o loop Debian-3.0r2.ext2 /mnt/tmp # cd /mnt/tmp/etc # >>>> find rc*d -name '*hwclock*' | xargs rm >> Paranoia is probably a good idea before using *any* code you find >> on a mailing list :). > I guess xargs tacks the stdin onto the end of a command. It would > seem like: # rm `find rc*d -name '*hwclock*'` find rc*d -name "*hwclock*" -exec rm '{}' \; In my opinion, that is nicer than backtick expansion. It's been a while since I've used Debian but aren't there tools to handle init scripts? David |