Hi, i need help for these.
I need to declare a variable in mkdir command
example:
#!/bin/bash
dirs="any1,any2,any3"
mkdir -p folder/{any1/{$dirs},any2,any3/{$dirs}/any/{dirs}}}
The variable "$dirs" should called to create the directorys in other
folders.
Sorry for my english :)
If anybody help me.... :)
Thanks...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---