This is a discussion on "how to delete an insane number of files" within the PHP Forum section. This forum, and the thread "how to delete an insane number of files are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
how to delete an insane number of files
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
how to delete an insane number of files
Long story short, I was running my crawler for about three days whith out checking it and it went completely haywire. Insted of writing one file every 12 hours with a report it looks like it wrote a file every millisecond. So right now the root of my web directory has some insane amout of files in it. Amazingly my server did not crash(thanks to Gentoo) but every time I try to delete the files with winSCP nothing happens and Putty starts to delete files but crashes after about 5 min. Any help would be appreciated...
|
|
|
|
|||
|
Re: how to delete an insane number of files
I would suggest using screen and running rm within that although you should probably also pipe it through nice as well. There are plenty of screen tutorials out there, and you can logout and just let it run I guess. That's how I've always managed such things myself, and yeah using WinSCP for such a large amount would be very bad for it hehe.
|
![]() |
| Tags |
| delete file |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS Problem - I'm going insane!! | hoss9009 | Web Page Design | 7 | Apr 24th, 2008 03:48 |
| This is insane | AdRock | Webforumz Cafe | 2 | Sep 24th, 2007 15:08 |
| Tables Driving my Insane! | Zonglars | Web Page Design | 7 | Jul 17th, 2007 01:19 |
| Hello, I really really need some help before I go Insane | cjrollo | Flash & Multimedia Forum | 16 | Mar 10th, 2007 08:07 |
| Please Help!! (Before I go totally insane!!)!!! | Smoovasbird | PHP Forum | 2 | Dec 23rd, 2006 13:42 |