Quote:
Originally Posted by
thiruram
Once we run the SYNC command in AIX server for take copy file into other server and do the file synchronization on server . My question is it's a one time execution command or need to schedule on everyday do the synchronization.
Hmmm.... Do we talk about "rsync" or "sync" or "SYNC"? I know "rsync" (btw: it is not "RSYNC", but "rsync" - UNIX is case sensitive and "a" and "A" are not the same), but neither do i know "sync" nor "SYNC". Sorry, if this looks petty, but there are indeed cases where capitalization matters.
If we do indeed talk about "rsync": once you execute it it synchronizes two directories contents (one of which could be remote) so that both hold the same versions of the same files. If the contents of the two directories drift apart again you need to resynchronize by issuing the command again (or have it issued by some automatic mechanism for you). You can use "cron" (or something equivalent - Control-M, etc.) for that to resynchronize daily (or twice a day, hourly, weekly, ....).
I hope this helps.
bakunin