LINUX.ORG.RU

История изменений

Исправление targitaj, (текущая версия) :

Не перепутай

--recursive, -r
              This tells rsync to copy directories recursively.  See also --dirs (-d) for an option that allows the scanning of a single directory.

и

--relative, -R
              Use relative paths.  This means that the full path names specified on the command line are sent to the server rather than just the last parts of the
              filenames.   This  is  particularly useful when you want to send several different directories at the same time.  For example, if you used this com‐
              mand:

Одно копирует директории с сохранением структуры, другое сохраняет полный путь из источника.

И помни про это

--archive, -a
              This  is  equivalent to -rlptgoD.  It is a quick way of saying you want recursion and want to preserve almost everything.  Be aware that it does not
              include preserving ACLs (-A), xattrs (-X), atimes (-U), crtimes (-N), nor the finding and preserving of hardlinks (-H).

              The only exception to the above equivalence is when --files-from is specified, in which case -r is not implied.

Исходная версия targitaj, :

Не перепутай

--recursive, -r
              This tells rsync to copy directories recursively.  See also --dirs (-d) for an option that allows the scanning of a single directory.

и

--relative, -R
              Use relative paths.  This means that the full path names specified on the command line are sent to the server rather than just the last parts of the
              filenames.   This  is  particularly useful when you want to send several different directories at the same time.  For example, if you used this com‐
              mand:

Одно копирует директории с сохранением структуры, другое сохраняет полный путь из источника.