ghost-purge-images
ghost-purge-images copied to clipboard
CLI tool to display & purge the uploaded images, video and audio files that currently are not used in any post, page or meta data
Thanks for your work Is Ghost v5 supported?
Hi, Thank-you for this script that saves my life ! :-) All my images are also compressed in Webp when they are uploaded in jpg. I would like to avoid...
Hi, I love your script. One issue I saw, is that it also deletes icons for custom integrations.
When using a storage adapter in Ghost, the purge script reports : ``` Completed but nothing to do here... Congrats, all images are being used 👍 ``` Regards.
It could be great to add a command to move the unused files to another directory instead of remove.
Hello there! Love the plugin! It gives me confidence in the platform as a whole to have something like this maintained as it directly addresses the only thing I disllike...
Hi, I generate the keys and am running this in the container : CONTENT_KEY=xxxxxxxxxxxxxxxxx ADMIN_KEY=xxxxxxxxxxxxxxxxxxxx ghost-purge-images display --content-key=$CONTENT_KEY --admin-key=$ADMIN_KEY output: ❌ Error: AxiosError: Request failed with status code 403 ghost...
Size variants, being in `images/size/w[xxxx]/xxxx/xx/xxxxxxx.png`, don't get deleted by this tool.