$ find . -maxdepth 1 -type f | head -1000 | xargs -I {} mv {} subs/01/
This script creates multiple sub directories, and copies n files to each sub directory:
for i in {1..20} do echo $i mkdir $i find . -maxdepth 1 -type f | head -1000 | xargs -I {} mv {} $i/ done
wow really superb you had posted one nice information through this. Definitely it will be useful for many people. So please keep update like this.
ReplyDeleteBack to Original
Good blog post which provided a interesting information os-x-terminal.keep updating...
ReplyDeleteSEO Companies in India