Delete Orphaned VPP images

Vote:
 

Hi,

I am using Episerver 6 R2. There are over 14,000 orphaned images in the VPP which we have flagged in a spreadsheet.

Is there away to delete items that are orphaned from the site via code?

Thanks

Jon

#199414
Edited, Nov 26, 2018 17:01
Vote:
 

Hi Jonathan

If you have the spreadsheet can't you just use that to delete the images? If you want to do it via code then whatever logic produced the spreadsheet in the first place could be coded up and executed via a custom scheduled job.

Worth noting that newer versions of Episerver have a removed abandoned blobs scheduled job built in which does this for you. With Windows Server 2008 going end of life soon it might be worth looking into an upgrade ;)

David

#199419
Nov 26, 2018 23:21
Vote:
 

Hi,

The spreadsheet was generated by ScreamingFrog and produced 14,000 oprhaned images which we dont have the time to do by hand.

Our client is using Episerver 6 R2 and will not upgrade.

#199430
Nov 27, 2018 15:19
Vote:
 

screaming frog and epi 6. that's an epic combination

#199554
Nov 30, 2018 6:07
* 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.