Copy files to a respective directory
I am trying to read mulitple files and copy its contents (files) to a respective directory.
I have a folder "Oracle". Under this i have mulitple files as mentioned below.
Products bin admin misc etc
each of the above has a list of files in them.
Now i have created new directories with the same name as the above files in another location say
The script that i looking at has to read the files from Oracle,
backup its contents to its appropriate new directory.
read /Oracle/Products and backup the files mentioned in there to /apps/backup/products.
read /Oracle/bin and backup the files mentioned in there to /apps/backup/bin.
Can the pro's help me out with this.
Thanks in advance.
Maybe something like 'rsync -ar /Oracle/ /apps/backup'?..
|All times are GMT -5. The time now is 07:51 AM.|