Koozali.org: home of the SME Server

rsync - what am I missing?

firstbishop

rsync - what am I missing?
« on: July 04, 2006, 12:42:28 PM »
I have an old iso (smeserver-7.0pre1.iso) which was downloaded a while back, which I have renamed to smeserver-7.0.iso (I've also tried renaming to smeserver.iso) and given the file and folder world-writable permissions. I am trying to update the file to version 7 and am using the following command:

rsync --recursive --verbose --archive --partial --progress ftp.ibiblio.org::pub/linux/distributions/smeserver/releases/7/iso/smeserver-7.0.iso .

The output from the ibiblio server is as follows:

receiving file list ...
1 file to consider
smeserver-7.0.iso -> smeserver.iso
wrote 136 bytes  read 958 bytes  168.31 bytes/sec
total size is 13  speedup is 0.01

And the renamed iso is overwritten by a blank file.

I've looked at the post on this page describing how to use rsync, read the manual page and have been trying all sorts  of thing for a couple of hours now. What am I missing?

Thanks. Mike

firstbishop

rsync - what am I missing?
« Reply #1 on: July 04, 2006, 01:30:53 PM »
OK - found my mistake. Smeserver-7.0.iso is a symlink to smeserver.iso. The command I was running was updating the iso file and replacing it with a symlink...