The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-26-2009
KiranKumarKarre KiranKumarKarre is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 62
rsync exclude option

Hi Frdz,

i am using rsync to transfer files from source to destination. but i have one criteria like i have to tranfer only links from source to destination.

in home/test/po folder i have

kiran/test1 -> /home/test/lo/fg
kiran/test2 -> /home/test/lo/fg2

like links are available.
and i am running the following command.

rsync -rvcpogtl -e "ssh -p1223" --exclude='?' /home/test/toDay/ username@hostname:/home > test.log


what to place in the value of exclude option??