please help me using rsync efficiently

vvenu88 at gmail.com vvenu88 at gmail.com
Thu Jul 16 05:11:43 MDT 2009


Hi,
I need a small information on the way rsync copies the files .
I am writing the files , links to a list file and I am passing the list  
file to rsync for copying to remote machine.
The contents of the list file (passed to rsync for synchronisation) are

/folder1/folder2/rep/01234018329/FSG2_PULL.txt#79GA91205KAE --- actual file
/folder1/folder2/users/01234002360/my/FSG2_PULL#79GA91205KAE ---- link
/folder1/folder2/rep/00000000090/TEST#79GA85630K9X
/folder1/folder2/users/01234002360/my/TEST#79GA85630K9X
/folder1/folder2/rep/00000000090/TEST#79GAL5005KMN
/folder1/folder2/users/01234002360/my/TEST#79GAL5005KMN
/folder1/folder2/rep/00000000090/TEST#79GAL5303KMQ
/folder1/folder2/users/01234002360/my/TEST#79GAL5303KMQ
/folder1/folder2/rep/00000000090/TEST#79GB04321Q0T
/folder1/folder2/users/01234002360/my/TEST#79GB04321Q0T

After rsync has transferred the files and links the log shown is

/folder1/folder2/rep/00000000090/
/folder1/folder2/rep/00000000090/TEST#79GA85630K9X
/folder1/folder2/rep/00000000090/TEST#79GAL5005KMN
/folder1/folder2/rep/00000000090/TEST#79GAL5303KMQ
/folder1/folder2/rep/00000000090/TEST#79GB04321Q0T

/folder1/folder2/rep/01234018329/
/folder1/folder2/rep/01234018329/FSG2_PULL.txt#79GA91205KAE

/folder1/folder2/users/01234002360/my/
/folder1/folder2/users/01234002360/my/FSG2_PULL#79GA91205KAE ->  
/folder1/folder2/rep/01234018329/FSG2_PULL.txt#79GA91205KAE
/folder1/folder2/users/01234002360/my/TEST#79GA85630K9X ->  
/folder1/folder2/rep/00000000090/TEST#79GA85630K9X
/folder1/folder2/users/01234002360/my/TEST#79GAL5005KMN ->  
/folder1/folder2/rep/00000000090/TEST#79GAL5005KMN
/folder1/folder2/users/01234002360/my/TEST#79GAL5303KMQ ->  
/folder1/folder2/rep/00000000090/TEST#79GAL5303KMQ
/folder1/folder2/users/01234002360/my/TEST#79GB04321Q0T ->  
/folder1/folder2/rep/00000000090/TEST#79GB04321Q0T

The log shows the way the rsync is copying the files to destination dir.
But i want rsync to copy the files the way the files and links are in the  
list file.
Is it possible with rsync?
If so how is it possible?

Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20090716/c74aec29/attachment.html>


More information about the rsync mailing list