$ yarn cf-purge
$ node ./scripts/cf-purge.js
Purge Cloudflare's cache.
node scripts/cf-purge.js ...filename
Upload names separated by space (will automatically include their thumbs if available).
$ yarn clean-up -h
$ node ./scripts/clean-up.js -h
Clean up files that are not in the database.
node scripts/clean-up.js [mode=0|1|2]
0 = Only list names of files that are not in the database.
1 = Clean up the files.
$ yarn delete-expired -h
$ node ./scripts/delete-expired.js -h
Bulk delete expired files.
node scripts/delete-expired.js [mode=0|1|2]
0 = Only list names of the expired files.
1 = Delete expired files (output file names).
2 = Delete expired files (no output).