LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsync --files-from issue (v2.6.9) (http://www.linuxquestions.org/questions/linux-software-2/rsync-files-from-issue-v2-6-9-a-660934/)

qwertywin 08-06-2008 01:26 PM

rsync --files-from issue (v2.6.9)
 
Ok so the lowdown on what I want to achieve.

I have a process which builds up a list of files that need to be sync'd across various boxes, the directory structure is the same across all machines.

so file containing the files might look like

/mnt/media/pics/house/picture1.jpg
/mnt/media/pics/house/picture2.jpg

so i use rsync with the following command

rsync -avR --files-from=filelist.txt / user1@box2:/

it copies the files across file, but gives me a non-zero exit code and this message appears

rsync: delete_file: rmdir "/mnt/media/pics/house" failed: Directory not empty (39)

and

rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]


any ideas? I have a feeling im not using rsync properly, I can't let it delete the dirs anyway because there will be other files that arent being sync'd by still exist.

qwertywin 08-06-2008 02:06 PM

ahh nevermind

there was a symlink in there which was causing the issue.


All times are GMT -5. The time now is 05:35 AM.