LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Have old website, how to only collect what's still actually being used to recreate it (https://www.linuxquestions.org/questions/linux-general-1/have-old-website-how-to-only-collect-whats-still-actually-being-used-to-recreate-it-4175513632/)

anon091 08-05-2014 03:36 PM

Have old website, how to only collect what's still actually being used to recreate it
 
I have an old website running in lampp that is a shell of it's former self, where it's probably only using a small portion of all the files within the lampp setup.
I'm thinking it might be just best to somehow spider the website to see and pull down what's actually being used, then move that to a new server. But any suggestions/tips on how to do that? I could do it from a windows machine or the server itself.

dijetlo 08-06-2014 05:46 AM

You might look recursively through /var/www/html with
"#ls -lRr --time=atime"
and check the last access date. The most recently accessed will be at the top of the pile in each directory

anon091 08-06-2014 09:59 AM

very cool thanks


All times are GMT -5. The time now is 07:52 PM.