![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listing Unique directories. | deepakwins | UNIX for Dummies Questions & Answers | 2 | 01-23-2008 02:14 PM |
| Copy selected Directories | sigurarm | UNIX for Dummies Questions & Answers | 2 | 12-21-2007 08:57 AM |
| copy multiple files in different directories | ken2834 | UNIX for Dummies Questions & Answers | 3 | 03-25-2007 10:35 AM |
| How do copy certain files and directories from one hard drive to another? | shorty | UNIX for Dummies Questions & Answers | 4 | 02-11-2006 04:26 PM |
| Find directories not containing foo, and copy foo to them | dkaplowitz | Shell Programming and Scripting | 6 | 06-29-2005 05:50 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Copy unique files between two directories in Solaris
Hi,
My requirement is to have a shell script: SOURCE_DIR=/usr/logs/restore/ --> Contains multiple subdirectories TARGET_DIR=/usr/data/logs --> Existing folders which contain similar subdirectories I want to copy only newer or uniquie files which are present in $SOURCE_DIR and its subdirectories to $TARGET_DIR exacly under the respective folders. It should not overwrite the existing files at $TARGET_DIR and its subdirs. Any help will be highly appreciated. regards Sujoy |
| Forum Sponsor | ||
|
|