Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: UNIX command - remove 0 byte file

by Moron (Curate)
on Sep 23, 2005 at 08:24 UTC ( [id://494431]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    find /whatever/path/ -size 0 -exec rm {} \;
    
  2. or download this
    Purge( '/whatever/path' );
    sub Purge {
    ...
        }
        close $dh or die "$!, for $dir";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found