- fixupFileGeometry();
- deleteLocalFileThumbnailsWithoutFilename();
- deleteMissingLocalFileThumbnails();
- fixupFileThumbnailUrlhash();
- setFilehashOnLocalFiles();
+ if ($iterate_files) {
+ printfnq("Running file iterations:\n");
+ printfnq("* "); fixupFileGeometry();
+ printfnq("* "); deleteLocalFileThumbnailsWithoutFilename();
+ printfnq("* "); deleteMissingLocalFileThumbnails();
+ printfnq("* "); fixupFileThumbnailUrlhash();
+ printfnq("* "); setFilehashOnLocalFiles();
+ printfnq("DONE.\n");
+ } else {
+ printfnq("Skipping intensive/long-running file iteration functions (enable with -f, should be done at least once!)\n");
+ }