[Linux-disciples] delete a whole lot of files

Stephen R Laniel steve at laniels.org
Wed Feb 7 13:19:45 EST 2007


On Wed, Feb 07, 2007 at 01:16:22PM -0500, Adam Rosi-Kessel wrote:
> I think you would need
> 
> find /home/church -iname '*.jpg' -print0 -exec '{}' rm \;

Sorry, what I meant to write was

find /home/church -iname '*.jpg' -print0 |xargs -0 rm

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20070207/55a3649f/attachment.pgp


More information about the Linux-disciples mailing list