Answer the question
In order to leave comments, you need to log in
How to scatter files into folders in?
In one folder a huge number of files. You need to scatter them into different folders, any, it doesn’t matter. Challenge: avoid having a large pack of files in one directory.
There are operating systems available: ubuntu 16, windfows 10 and mac os.
Answer the question
In order to leave comments, you need to log in
count=100; i=0; find . -maxdepth 1 -type f | while read f; do n=$[i/c+1]; i=$[i+1]; mkdir -p "$n" && mv "$f" "$n/$f"; done
How to scatter files into folders?Elementary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question