Linux folder creation
Go to solution
Solved by Sauron,
40 minutes ago, lior1111 said:if its even possible?
It's not possible using just mkdir but you can use a simple bash one liner:
for ((i=1; i <= 5 ; i++)); do echo "./path/to/folder_$i" | xargs -L 1 mkdir -p ; done
obviously replacing 1 and 5 with the range you want
-
Topics
-
0
-
Ishikudeska ·
Posted in New Builds and Planning0 -
0
-
Xxu ·
Posted in Servers, NAS, and Home Lab0 -
4
-
Issac Zachary ·
Posted in Troubleshooting5 -
4
-
PopsicleHustler ·
Posted in Audio4 -
4
-
4
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now