PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   zero length files! (http://www.phpdig.net/forum/showthread.php?t=2333)

Dave A 01-10-2006 01:09 AM

zero length files!
 
I get a heap of results with no content so i was wondering if anyone can show me a way of finding them so that the can be deleted.

The directory text_content contains a few thousand files named like 999789.txt
Some of these may have a zero file length, I have tried to find them using grep but someone must be able to point me to the way that I can check the files length and delete those with a zero file length.
How can this be done?

Any ideas folks?

Any suggestions will be good.
Heaps of regards
Dave A


All times are GMT -8. The time now is 08:04 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.