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 Go to next message
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
Re: Copy only files whiich do not exist on Target Directory [message #433409 is a reply to message #433407] Wed, 02 December 2009 03:32 Go to previous message
Michel Cadot
Messages: 57592
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Regards
Michel
Previous Topic: Installing Oracle 10gr2 on HPUX 11.31
Next Topic: Shell Script error
Goto Forum:
  


Current Time: Tue Apr 15 23:12:57 CDT 2014

Total time taken to generate the page: 0.10759 seconds