Old unused files on server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hypo
    So Fucking Banned
    • Feb 2001
    • 1104

    #1

    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?
  • Amputate Your Head
    There can be only one
    • Aug 2001
    • 39075

    #2
    There should be a button on your keyboard there somwhere that's marked either "Del" or "Delete"... try that one.
    SIG TOO BIG

    Comment

    • tenletters
      Confirmed User
      • Jan 2001
      • 2079

      #3
      Hypo, try working on this double posting problem of yours before hitting the tough stuff.
      Useless Without Pics

      Comment

      • Hypo
        So Fucking Banned
        • Feb 2001
        • 1104

        #4
        What double posting?

        Comment

        • Hypo
          So Fucking Banned
          • Feb 2001
          • 1104

          #5
          What double posting?

          Comment

          • Hypo
            So Fucking Banned
            • Feb 2001
            • 1104

            #6
            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?

            Comment

            • Amputate Your Head
              There can be only one
              • Aug 2001
              • 39075

              #7
              Got a server access log?
              SIG TOO BIG

              Comment

              • Speedy26
                Confirmed User
                • Apr 2001
                • 950

                #8
                Originally posted by Hypo:
                What double posting?
                that double posting
                http://www.amberscash.com webmaster {at} crazynakedchick [dot] com

                Comment

                • Speedy26
                  Confirmed User
                  • Apr 2001
                  • 950

                  #9
                  Originally posted by Hypo:
                  What double posting?
                  that double posting
                  http://www.amberscash.com webmaster {at} crazynakedchick [dot] com

                  Comment

                  • Speedy26
                    Confirmed User
                    • Apr 2001
                    • 950

                    #10
                    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] com

                    Comment

                    • Hypo
                      So Fucking Banned
                      • Feb 2001
                      • 1104

                      #11
                      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

                      • funkmaster
                        So Fucking Banned
                        • Sep 2001
                        • 7938

                        #12
                        ... 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

                        • Hypo
                          So Fucking Banned
                          • Feb 2001
                          • 1104

                          #13
                          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

                          • funkmaster
                            So Fucking Banned
                            • Sep 2001
                            • 7938

                            #14
                            what will take you longer, finding those files or installing an additional disk?

                            ------------------
                            Don't innovate - imitate!
                            ... giving away mass traffic for free !!

                            Comment

                            Working...