*** warning please test this first ***
*** maybe use mv to a directory first ***
something like
find /mydirectory/ -size 0 -exec rm {} \;
find has arg "-empty" too
"man find" will give you details
Justin
-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED]
Sent: 08 July 2003 12:31
To: CFDeveloper Dev List
Subject: [ cf-dev ] WOT : unix command to delete files with 0 size.
Sorry for the WOT, but I've had enough of flicking through hundreds of empty
files trying to spot the ones with a size....
Does anyone know how I could delete all the files with a size of zero on a
linux box?
Stephen
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]