rsync -a source_dir target_dir
. "-a" is equivalent of "-rlptgoD"
. What does it mean?? Let's analyze it step by step.
- "-r" - reqursive
- "-l" - copy symbolic links as symbolic links
- "-p" - preserve permessions
- "-t" - preserve modification dates
- "-g" - preserve group
- "-o" - preserve owner (works only with root account)
- "-D" - preserve device files and special files
rsync -rltgoD m/bdg .
Brak komentarzy:
Prześlij komentarz