[Newark] Help with rm

Chris Burton Chris at 7of9b.org
Thu Dec 4 14:25:46 UTC 2008


> I seem to remember there's a switch for rm that makes this work, or is 
> there
> some other syntax. Any ideas?

find /home -wholename "*foo/bar/fred.txt" -print0|xargs -p0 rm

The interractive part of it isn't very friendly but still there.

ChrisB.
p.s. there are probably better ways of doing it - as always :). 





More information about the Newark mailing list