Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to determine needed files from unneeded files


Recommended Posts

Hello everyone. I am in the process of migrating an osC site to a new web host.


I believe there a lot of unneeded files on the existing server. When doing an export of the Home directory using CPanel, I end up with a compressed file that is 1.6 GB! That's just website files, no database.


In the interest of cleaning up the site, and minimizing the amount of disk usage on the new host, I want to delete any old or unneeded files.


FYI, we inherited the site so I have no background on the files that are on the current server.


Does anyone have any ideas about how to determine which files are needed for operation of the website and which are not?


For example, I'm assuming that any image file with spaces in it like "my image file.jpg" would not be needed since the server likely needs files with no spaces.


Anyway, any ideas would be greatly appreciated!



Link to comment
Share on other sites

Unfortunately because no one knows what change/contributions have been installed it is impossible to say which files your site will need.


You could copy your current site and them delete every file you think is no longer required.


Then test the site and see what is broken.


As you have a copy you can just copy across the "missing" files until it all works.


This contributio helps tidy up the data







Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile


Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.


For links mentioned in old answers that are no longer here follow this link Useful Threads.


If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...