kopieren einer alias datei mit rsync

L

lazybaer

Aktives Mitglied
Thread Starter
Dabei seit
08.02.2006
Beiträge
172
Reaktionspunkte
3
hallo allerseits

ich habe viele aliases und die werden von rsync nicht vollständig kopiert (für mich wertlos). trotz langen suchens via google habe ich keine lösung gefunden.

was muss ich in rsync spezifizieren, damit ein alias vollständig kopiert wird (meine standard options sind: -aHv)?

danke zum voraus für jeden hinweis.

lazy
 
Du brauchst noch -E
 
Die Manpage gibt Auskunft...

-l, --links
When symlinks are encountered, recreate the symlink on the destination.

-L, --copy-links
When symlinks are encountered, the file that they point to is copied,
rather than the symlink.

--copy-unsafe-links
This tells rsync to copy the referent of symbolic links that point outside
the source tree. Absolute symlinks are also treated like ordinary files,
and so are any symlinks in the source path itself when --relative is used.

--safe-links
This tells rsync to ignore any symbolic links which point outside the
destination tree. All absolute symlinks are also ignored.
Using this option in conjunction with --relative may give unexpected results.

-H, --hard-links
This tells rsync to recreate hard links on the remote system to be the same
as the local system. Without this option hard links are treated like regular files.

Note that rsync can only detect hard links if both parts of the link are
in the list of files being sent.

This option can be quite slow, so only use it if you need it.
 
@ maceis: danke, das fehlte!
 
Zurück
Oben Unten