From c28904dae0bc314622150f3ff58ae7b8217167bf Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 6 May 2020 08:49:39 +0000 Subject: [PATCH] Update the rsync command in CONVERTING_TO_HOMED 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CONVERTING_TO_HOMED.md b/docs/CONVERTING_TO_HOMED.md index a3a88be6c1..78b6c61631 100644 --- a/docs/CONVERTING_TO_HOMED.md +++ b/docs/CONVERTING_TO_HOMED.md @@ -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: