diff options
author | rfjakob | 2016-06-09 23:31:02 +0200 |
---|---|---|
committer | rfjakob | 2016-06-09 23:31:02 +0200 |
commit | fc7bb5d14f4187f6d9a59930b5586591210d5a5d (patch) | |
tree | bf14b6cd39453aee73081fe58e50636a6992f5d8 | |
parent | 00050fc61494f672a68fe8d49bd3101dfe1d9fba (diff) |
Updated Upgrading (markdown)
-rw-r--r-- | Upgrading.md | 4 |
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 |