in reply to
UNIX command - remove 0 byte file
Insert appropriate directory path instead of $directory then cast the command.
perl -e '!-s&&unlink $_ for<$directory/*>'
[download]
Comment on
Re: UNIX command - remove 0 byte file
Download
Code
In Section
Seekers of Perl Wisdom