Bash script to make 100 directory recursively with different names..
Hi,
In some data processing task, i need to rearrange my data.I have my raw data in a directory(eg. c:/Data).The data is present in different directories like (eg C:/Data/Data1,C:/Data/Data2,C:/Data/Data3..).I have 100's of such data.I need to keep the processed data in (D:/New_Data) with respective names of the raw data(eg. D:/New_Data/Data1 will contain processed data from C:/Data/Data1 and D:/New_Data/Data2 will contain processed data from C:/Data/Data2 and so on..).I need to make a bash script so that it automatically creates new empty directories in the D:/New_data with similar names as in C:/Data, so that i only need to specify the path of processed data. Please help me out with such Bash script.
Thanks
|