Fórum Root.cz
Hlavní témata => Software => Téma založeno: ZAJDAN 23. 05. 2015, 20:27:44
-
Ahoj,
rsync skončí a mimo jíné informuje:
total: matches=0 hash_hits=0 false_alarms=0 data=0
co se snaží říct tím 'matches' o jáke shody by mělo jít?
-
Kristova noho, dejte sem alespon priklad, jak jste rsync pouzil. S jakymi parametry?
-
rsync -az --verbose --log-file=rsync.log /odnekud /nekam
-
Mozna to chces i rekurzivne, jestli to jsou adresare, ne? "-r"
-
Mozna to chces i rekurzivne, jestli to jsou adresare, ne? "-r"
man rsync:
-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X)
-
Mozna to chces i rekurzivne, jestli to jsou adresare, ne? "-r"
ohledne rekurze...co jsem pochopil, tak neni potřeba přepínače '-r' pokud se ve zdrojové cestě ne/použije lomítko '/'
-
rsync -azv /odnekud /nekam (rekurze)
rsync -azv /odnekud/ /nekam (bez rekurze)
-
V momentě, kdy tam je "-a" je obojí s rekurzí. Jak píše Kolemjdoucí, -a zapne -r...
-
A trailing slash on the source changes this behavior to avoid creating an additional
directory level at the destination. You can think of a trailing / on a source as meaning
"copy the contents of this directory" as opposed to "copy the directory by name", but in
both cases the attributes of the containing directory are transferred to the containing
directory on the destination. [b]In other words, each of the following commands copies the
files [u]in the same way[/u][/b], including their setting of the attributes of /dest/foo:
rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo
-
info o prubehu rsync je --progress, ale koukam ze predmet tohohle dotazu != s tim co se tady probira