mirror of
https://github.com/immich-app/walkrs.git
synced 2026-09-30 13:32:57 +08:00
+1
-1
@@ -4,7 +4,7 @@ const path = process.argv[2] || '/';
|
||||
|
||||
const files: string[] = [];
|
||||
for await (const batch of walk({ paths: [path] })) {
|
||||
files.push(...JSON.parse(batch));
|
||||
files.push(...batch);
|
||||
}
|
||||
|
||||
console.log(files.length);
|
||||
|
||||
Reference in New Issue
Block a user