Home » Infrastructure » Unix » Copy only files whiich do not exist on Target Directory (HP-UX B 11.23)
Copy only files whiich do not exist on Target Directory [message #433407] |
Wed, 02 December 2009 03:27  |
chetanaZ
Messages: 132 Registered: October 2009 Location: UK
|
Senior Member |
|
|
I want to copy files from one directory into another directory in such a way that, only the nonexistent files in target directory are copied from source directory
e.g.
dir1 has
file1
file2
file3
dir2 has
file1
file3
now I want that a command (non-interactive) to copy only file2 from dir1 to dir2
Thanks and Regards,
Chetana
|
|
|
|
Goto Forum:
Current Time: Fri May 02 01:21:24 CDT 2025
|