Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add log to prune storage script

Chocobozzz6b4e74c2b7e5
diff --git a/scripts/prune-storage.ts b/scripts/prune-storage.ts
index bdfb335c61..32314b0b7c 100755
--- a/scripts/prune-storage.ts
+++ b/scripts/prune-storage.ts
@@ -34,6 +34,8 @@ async function run () {
let toDelete: string[] = []
+ console.log('Detecting files to remove, it could take a while...')
+
toDelete = toDelete.concat(
await pruneDirectory(CONFIG.STORAGE.VIDEOS_DIR, doesVideoExist(true)),
await pruneDirectory(CONFIG.STORAGE.TORRENTS_DIR, doesVideoExist(true)),