copy and rename the existing directory using BASH script
Hi Guys,
i am trying to create a script to copy a single existing directory to multiple copies and rename those copies sequentially in bash script. for e.g. my existing directory is Itr1_b1_w1_130 and i want to make multiple copies of this directory and this should be renamed as Itr2_b1_w1_130, Itr3_b1_w1_130....Itr40_b1_w1_130. I know i have to use the for loop to get this work. Any help or clues to get this work done would be really helpful.Appreciate your help. Thanks p.s i also posted this in LINUX-newbie forum too. |
I think you need to read the LQ Rules: http://www.linuxquestions.org/linux/rules.html
Especially these bits: - Do not expect LQ members to do your homework - Do not post the same discussion in more than one forum. |
Quote:
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 06:44 AM. |