November Happy Hour will be moved to Thursday December 5th.

Delete unused files in PageFiles

Vote:
 

Hello,

Does anybody know if there is a way, in EPiSever, to delete unused files located in PageFiles.

I have a problem with EPiServer not removing associated files when deleting pages and need to find a way to remove these files manually.

Regards
John

#20532
Jun 04, 2008 12:32
Vote:
 
Admin / System administration / Delete unused files
#20533
Jun 04, 2008 12:51
Vote:
 

Hello Erik,

That was exactly what I was looking for!!

Many thanks!

Ragards
John

#20562
Jun 04, 2008 20:05
Vote:
 

Is there any more thorough tool than this than anyone knows of?  

I want to inspect each of the files in page files and see if they're actually used in a page ... if not, remove them from the filesystem.  

Over time editors introduce new images/pdfs/resources and unlink previous ones.  If they don't delete the previous ones they remain on the filesystem. These are what I want to target - even though the page itself has not been deleted.  

Any pointers welcomed 

#86228
May 16, 2014 1:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.