Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to delete 0 byte files

Status
Not open for further replies.

mmcds

MIS
Jul 5, 2007
28
US
I am wondering how I would go about creating a script that would delete only 0 byte size files found in /home/user directory for example. Any help would be appreciated. Thanks!
 
..Which begs the question how did mmcds get it to work? ;-)

I want to be good, is that not enough?
 
Hi

Well, probably (s)he run it from the /home/user directory... At least GNU [tt]find[/tt] permits to omit the path if it still can sort out the grouping of the options.

Feherke.
 
Interesting, Feherke, I wasn't aware of that.

I want to be good, is that not enough?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top