You can change the glob pattern to taste; you may even include a relative or absolute path.foreach(glob('*.*')) { unlink if -f and !-s _; }
In reply to Re: UNIX command - remove 0 byte file
by bart
in thread UNIX command - remove 0 byte file
by darrengan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |