Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Stat and file size

by jwkrahn (Monsignor)
on Jul 29, 2012 at 06:45 UTC ( #984269=note: print w/ replies, xml ) Need Help??


in reply to Re: Stat and file size
in thread Stat and file size

And in case you'd like to find zero-size files

my @zeroSizeFiles = grep !-s, <*>;
my @zeroSizeFiles = grep -z, <*>;


Comment on Re^2: Stat and file size
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-07-07 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls