in reply to UNIX command - remove 0 byte file
You can change the glob pattern to taste; you may even include a relative or absolute path.foreach(glob('*.*')) { unlink if -f and !-s _; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: UNIX command - remove 0 byte file
by rinceWind (Monsignor) on Sep 23, 2005 at 09:35 UTC | |
by VSarkiss (Monsignor) on Sep 23, 2005 at 14:15 UTC |