Hi Everybody
I have intalled new server at our LAN but I need special program or batch file to check two folders in different servers to make incremental copy.
can any one advice me to solve this problem.
Thank you
Hi Everybody
I have intalled new server at our LAN but I need special program or batch file to check two folders in different servers to make incremental copy.
can any one advice me to solve this problem.
Thank you
You can use the diff(1) command to compare two directories. One of the folders would need to be NFS mounted to the other machine to enable you to do this.
You can use :
# find /path/to/sourcdirectory | cpio -pdmv /path/to/targetdirectory
To copy the contents of the sourcedirectory to the targetdirectory and only those files that are newer in the source directory or else don't yet exist in the target directory will get copied.
Or else take a look at rdiff or rsync and rdist?
Is that what you are after?
Thank you so much for your quick response
but can I call that (synchronization between two folders)?
check out rsync.