Splitting folders with large file counts into smaller folders

Ever had a folder with 200000 files and needed to split them into smaller folders? If so, the following code can be executed within the directory from your command prompt (terminal) to split into n directories of 10000 files each:

Source: askubuntu.com

You Might Also Like