how do you use rm to del found files
Jeremy Fowler
jfowler at westrope.com
Thu Jun 27 16:28:04 CDT 2002
for FILE in `find . -name *.class -print`; do
rm -f $FILE
done
> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Hanasaki JiJi
> Sent: Thursday, June 27, 2002 9:51 AM
> To: KCLUG
> Subject: how do you use rm to del found files
>
>
> I have a find expression:
> find . -name *.class -print
> that outputs a list of files
>
> how can i send this to "rm" to remove all these files?
>
> Thanks
>
>
>
>
More information about the Kclug
mailing list