Displaying 3 results from an estimated 3 matches for "rlklpv".
2015 Apr 17
2
Rsync a directory via a linked name.
...etrieved, in fact it will be deleted at the end.
Then I noted the following args of rsync:
-L, --copy-links transform symlink into referent file/dir
-K, --keep-dirlinks treat symlinked dir on receiver as dir
So I finally use the command like this and it does the trick:
rsync -rlKLPv --delete --delete-excluded \
ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/current/
But, even though, I cann't figure out whether the method used by me is
the most appropriate method or not for this case.
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedo...
2015 Apr 17
0
Rsync a directory via a linked name.
...gt;
> Then I noted the following args of rsync:
>
> -L, --copy-links transform symlink into referent
> file/dir -K, --keep-dirlinks treat symlinked dir on
> receiver as dir
>
> So I finally use the command like this and it does the trick:
>
> rsync -rlKLPv --delete --delete-excluded \
> ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/current/
>
> But, even though, I cann't figure out whether the method used by
> me is the most appropriate method or not for this case.
>
> Regards
>
- --
~*-,._.,-*~'`^`...
2015 Apr 16
2
Rsync a directory via a linked name.
Hi all,
See the following for detail:
$ rsync -l ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/
[snip]
drwxr-sr-x 4,096 2015/01/10 18:17:33 .
lrwxrwxrwx 18 2015/01/10 18:16:31 current -> 20130613+deb7u2
+b4
drwxr-xr-x 4,096 2013/05/01 05:33:52 20130430
drwxr-sr-x 4,096 2015/01/05 17:25:32 20130613+deb7u2+b4
In the above case, the current