[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync



On Fri, Mar 2, 2012 at 11:15 PM, Johann Spies <jspies@sun.ac.za> wrote:
> On Fri, Mar 02, 2012 at 04:33:56PM +0200, lina wrote:
>
>> Is it wrong when use
>>
>> rsync -azvu source destination
>>
>> sent 16 bytes  received 43 bytes  5.13 bytes/sec
>> total size is 1507939808  speedup is 25558301.83
>>
>
> If source is a symlink you have to specify source/ otherwise you can get
> something like this.

Thanks Johann, it's not a symbol link file.

>
> Illustrated:
>
>> cd /tmp
> /tmp ~
> /tmp> mkdir x
> /tmp> cp /boot/vmlinuz-2.6.3-amd64 x/
> cp: kan nie stat `/boot/vmlinuz-2.6.3-amd64' uitvoer nie: No such file or directory
> /tmp> cp /boot/vmlinuz-2.6.32-5-amd64 x/
> /tmp> ln -sv x y
> `y' -> `x'
> /tmp> mkdir z
> /tmp> rsync -av y z
> sending incremental file list
> y -> x
>
> sent 40 bytes  received 15 bytes  110.00 bytes/sec
> total size is 1  speedup is 0.02
> /tmp> rsync -av y/ z/
> sending incremental file list
> ./
> vmlinuz-2.6.32-5-amd64
>
> sent 2425012 bytes  received 34 bytes  4850092.00 bytes/sec
> total size is 2424608  speedup is 1.00
>
> Regards
> Johann
> --
> Johann Spies                            Telefoon: 021-808 4699
> Databestuurder /  Data manager
>
> Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
> Centre for Research on Evaluation, Science and Technology
> Universiteit Stellenbosch.
>
>     "I will lift up mine eyes unto the hills, from whence
>      cometh my help. My help cometh from the LORD, which
>      made heaven and earth."
>                           Psalms 121:1,2
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: 20120302151505.GB8530@sun.ac.za">http://lists.debian.org/20120302151505.GB8530@sun.ac.za
>


Reply to: