1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Cleanup FileSystem storage files

Cleanup FileSystem storage files

1 posts, 0 answered
  1. Nidhi
    Nidhi avatar
    40 posts
    Registered:
    20 Jul 2010
    13 Apr
    Link to this post

    Hi,

    We have a project where we use the FileSystem as the default storage provider for images and documents. We've got about ~20000 files in the FileSystem. We recently deleted a bunch of images and documents from Sitefinity but it doesnt look like the files got deleted from the FileSystem because it still shows the same number of files in the folder. It's using unnecessary disk space - how can we clean up the folder? Is there any code I can run one time to find out which files aren't in use anymore?

     

    Thanks,

    Nidhi

1 posts, 0 answered