1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-21 18:03:41 +03:00
wouter bolsterlee 3d3e51eff2 docs: tweak rsync flags for moving existing home dir to systemd-homed
The documentation on moving an existing homedir into a systemd-homed managed
one suggests using rsync(1) with a bunch of flags to preserve as much metadata
as possible: permissions, xattrs, timestamps, etc. The previously suggested
flags were:

    rsync -aHAXv --remove-source-files …

… which does include mtimes, but not ctimes and atimes, because -a does not
include those:

    --archive, -a            archive mode is -rlptgoD (no -A,-X,-U,-N,-H)

This change adds the -N and -U flags to preserve even more file timestamps,
turning the command into:

    rsync -aHANUXv --remove-source-files …

The new flags are:

    --crtimes, -N            preserve create times (newness)
    --atimes, -U             preserve access (use) times
2023-02-01 20:47:56 +00:00
..
2023-01-29 20:26:28 +09:00
2022-05-17 23:00:18 +02:00
2019-12-11 17:04:20 +01:00
2022-01-12 16:05:59 +01:00
2023-01-23 22:52:34 +00:00
2023-01-23 22:52:34 +00:00
2023-01-23 22:52:34 +00:00
2023-01-23 22:52:34 +00:00
2023-01-23 22:52:34 +00:00
2023-01-23 22:52:34 +00:00
2019-12-11 17:04:20 +01:00
2022-05-18 20:34:10 +02:00
2022-05-18 20:34:10 +02:00
2022-06-28 16:05:31 +02:00
2023-01-23 22:52:34 +00:00
2023-01-23 22:52:34 +00:00