I have this huge folder with thousands of unordered files. Is it feasible to move the first 5000s to a subfolder via the
mv command? For now I move files with
mv *some_pattern* ./subfolder1/
As for now, I move images quite randomly, it's not really important if there aren't exactly 5000 files in each subfolder. Is there a better way to do it?