![]() |
Old unused files on server
I have on my server thousands of galleries spread on many domains that have never been listed. I would like to delete those files older than 2 months that have never had a single hit. Is there a way to do this?
|
There should be a button on your keyboard there somwhere that's marked either "Del" or "Delete"... try that one.
|
Hypo, try working on this double posting problem of yours before hitting the tough stuff.
|
What double posting?
|
What double posting?
|
Amp, how do I find out which of the 1000s of files have never had a hit before I hit that delete key on them?
|
Got a server access log?
|
Quote:
|
Quote:
|
Hypo why dont you go through them and resubmit them to a bunch of TGP's instead of deleting them?
|
I do have server logs, but I dont know how to go through them automatically, something that will check for each gallery page that's not been visited and delete them.
I dont want to resubmit them, they all have recips, and it will be a pain submitting each recipped gallery to the proper TGP, and I make new galleries everyday with new sponsors and better templates, so I dont really need old galleries. I could delete all old galleries created 3 months, but I hear the search engine traffic gets them and thats valuable traffic. |
... if you are getting traffic of the searchengines, keep the old files ... I reckon you will be better of buying a bigger disc !!
but you could also, like you said, delete all files that are older than 3 month (but keep a copy somewhere), than watch your logfiles for 404 entries and restore the files that still get hits ... ... if you are running your stuff of some linux/freeBSD box, just go to your log_file location and type "fgrep 404 name_of_log_file" to screen out all 404 entries ... hope this helps ? ------------------ Don't innovate - imitate! ... giving away mass traffic for free !! [This message has been edited by funkmaster (edited 10-12-2001).] [This message has been edited by funkmaster (edited 10-12-2001).] |
Thing is, only those files will get hits that have been listed somewhere, as they'll be picked up by SEs. These files are taking 4 gigs of space I think. If there was some method of automatically deleting files older than 2 months getting no hits that would be the best.
Else I could try out your method, backing up and restoring from 404s, but sounds tedious. |
what will take you longer, finding those files or installing an additional disk?
------------------ Don't innovate - imitate! ... giving away mass traffic for free !! |
All times are GMT -7. The time now is 08:35 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123