diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/prune-storage.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/prune-storage.ts b/scripts/prune-storage.ts index bdfb335c6..32314b0b7 100755 --- a/scripts/prune-storage.ts +++ b/scripts/prune-storage.ts | |||
@@ -34,6 +34,8 @@ async function run () { | |||
34 | 34 | ||
35 | let toDelete: string[] = [] | 35 | let toDelete: string[] = [] |
36 | 36 | ||
37 | console.log('Detecting files to remove, it could take a while...') | ||
38 | |||
37 | toDelete = toDelete.concat( | 39 | toDelete = toDelete.concat( |
38 | await pruneDirectory(CONFIG.STORAGE.VIDEOS_DIR, doesVideoExist(true)), | 40 | await pruneDirectory(CONFIG.STORAGE.VIDEOS_DIR, doesVideoExist(true)), |
39 | await pruneDirectory(CONFIG.STORAGE.TORRENTS_DIR, doesVideoExist(true)), | 41 | await pruneDirectory(CONFIG.STORAGE.TORRENTS_DIR, doesVideoExist(true)), |