Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm administering a site that uses a CMS, and the only access I have to the filesystem is through ajaxplorer. I'd like to remove pictures, documents, etc. that aren't being used or linked to. Is there a way to tell what files on the site are being used, other than scraping the site and manually comparing file lists?

share|improve this question
Are you trying to monitor any specific files or file types? Files within your root web server folder or files outside the root folder? – Anagio Jul 25 '12 at 14:55
I want to remove any files that aren't being used or linked to. Edited question to clarify. – stephenwade Jul 25 '12 at 15:10
Just thinking aloud... If there was a tool that could compare the raw access.log with the actual file system then you could perhaps get a list of files that had not been requested during a period of time? – w3dk Jul 28 '12 at 10:24
up vote 2 down vote accepted

There's no easy way of knowing which files are linked to or being used with ajaxplorer. Images could be linked to within a style sheet ie; background:url('image.png'); Or inserted with AJAX, jQuery, PHP or some other client side or server side language.

Xenu link sleuth is a quick way to gather all file URL's on a site, you can then export to TBS/CSV and open it in excel to see the list and sort by file type. http://home.snafu.de/tilman/xenulink.html

You'd then have to compare files.

I would ask for FTP access it would make your job a lot easier administering the server and keeping it clean.

share|improve this answer
Unfortunately, FTP access is not possible - the site is hosted elsewhere and they manage it. Thanks for the link to Xenu's Link Sleuth. It does what I need. – stephenwade Jul 25 '12 at 19:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.