rsync copy

rsync -vaur playzone04:nagios-3.0.3.tar.gz –rsh=ssh –rsync-path=/usr/local/bin/rsync .

-v, –verbose               increase verbosity

-a, –archive               archive mode; same as -rlptgoD (no -H, -A)

-u, –update                skip files that are newer on the receiver

-r, –recursive             recurse into directories

–rsync-path=/<rsync path of remote host>

Some times you will find error like

ld.so.1: rsync: fatal: libgcc_s.so.1: open failed: No such file or directory

i.e. no libgcc found on /usr/local/lib and rsync always look for libgcc_s.so.1 on /usr/local/lib

Then simply make a soft link

ln -s /usr/sfw/lib/libgcc_s.so.1 /usr/local/lib/libgcc_s.so.1 [on Sun host only]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: