From fc7bb5d14f4187f6d9a59930b5586591210d5a5d Mon Sep 17 00:00:00 2001 From: rfjakob Date: Thu, 9 Jun 2016 23:31:02 +0200 Subject: Updated Upgrading (markdown) --- Upgrading.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3