#bash command to make alot of directories
17 messages · Page 1 of 1 (latest)
What the requirement
Example
for i in {1..32000}; do mkdir "d${i}"; done
Or you can use xargs to speed up
echo d{1..32000} | xargs -P0 -n 100 mkdir
I don't understand you.
like to make a file, like this is a file, and save it as e1 for example
I still fail to understand you. xargs doesn't use any intermediate files.
If you want to use a different prefix, such as e, echo e{1...36000}.
Or if you want to create files instead of directories, replace mkdir with touch
... solved