]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Update the rsync command in CONVERTING_TO_HOMED
authorGergely Polonkai <gergely@polonkai.eu>
Wed, 6 May 2020 08:49:39 +0000 (08:49 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 May 2020 08:52:22 +0000 (10:52 +0200)
The old version of this command will delete everything under the new home directory (including `.identity`), rendering the directory unusable with homed.

docs/CONVERTING_TO_HOMED.md

index a3a88be6c15995cb06a81ff18927373351b892ea..78b6c616317961b4bc2201891880d69484dd8490 100644 (file)
@@ -113,7 +113,7 @@ Here's the step-by-step guide:
    home directory temporarily and copy the data in.
 
     ```
-    homectl with foobar -- rsync -aHAXv --delete-during /home/foobar.saved/ .
+    homectl with foobar -- rsync -aHAXv --remove-source-files /home/foobar.saved/ .
     ```
 
    This mounts the home directory of the user, and then runs the specified
@@ -121,7 +121,7 @@ Here's the step-by-step guide:
    new. The new home directory is the working directory of the invoked `rsync`
    process. We are invoking this command as root, hence the `rsync` runs as
    root too. When the `rsync` command completes the home directory is
-   automatically unmounted again. Since we used `--delete-during` all files
+   automatically unmounted again. Since we used `--remove-source-files` all files
    copied are removed from the old home directory as the copy progresses. After
    the command completes the old home directory should be empty. Let's remove
    it hence: