summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Upgrading.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Upgrading.md b/Upgrading.md
index 5cdc6b2..3bd621b 100644
--- a/Upgrading.md
+++ b/Upgrading.md
@@ -25,12 +25,14 @@ $ shopt -s dotglob
$ rsync -av /old/* /new
```
-The bash option `shopt -s dotglob` makes sure that `/old/*` also matches hidden files (dotfiles). If you don't have any in /old (check with `ls -la /old`), you can skip that command.
+The bash option `shopt -s dotglob` makes sure that `/old/*` also matches hidden files (dotfiles). If you don't have any in `/old` (check with `ls -la /old`), you can skip that command.
#### Space-efficient move
If you don't have the space to store a copy of your data, you can use the `--remove-source-files` option to rsync. This will delete each file after it has been transferred. Note that `mv` is pretty dumb: it copies everything and only then deletes the source files, so you will still need twice the space.
+As mentioned above, make sure you remember the passphrase for `/new` and have the masterkey.
+
```
$ shopt -s dotglob
$ rsync -av --remove-source-files /old/* /new