]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/prune-storage.ts
Refactor a little bit live tests
[github/Chocobozzz/PeerTube.git] / scripts / prune-storage.ts
index bdfb335c61aeb7a28d4c74b94b510b7cf6aef3d4..32314b0b7c134ebace445b756bbd185a150bd82c 100755 (executable)
@@ -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)),