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?
Old unused files on server
Collapse
X
-
There should be a button on your keyboard there somwhere that's marked either "Del" or "Delete"... try that one.SIG TOO BIG -
Hypo, try working on this double posting problem of yours before hitting the tough stuff.Comment
-
-
that double postingOriginally posted by Hypo:
What double posting?http://www.amberscash.com webmaster {at} crazynakedchick [dot] comComment
-
that double postingOriginally posted by Hypo:
What double posting?http://www.amberscash.com webmaster {at} crazynakedchick [dot] comComment
-
Hypo why dont you go through them and resubmit them to a bunch of TGP's instead of deleting them?http://www.amberscash.com webmaster {at} crazynakedchick [dot] comComment
-
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.Comment
-
... 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).]Comment
-
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.Comment
-
what will take you longer, finding those files or installing an additional disk?
------------------
Don't innovate - imitate!
... giving away mass traffic for free !!Comment

Comment