From ab749c200bd34a618c4cb5f1da4253657fdcd603 Mon Sep 17 00:00:00 2001 From: rfjakob Date: Thu, 16 Jun 2016 22:58:17 +0200 Subject: Updated Upgrading (markdown) --- Upgrading.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Upgrading.md b/Upgrading.md index 1509bf2..e45deda 100644 --- a/Upgrading.md +++ b/Upgrading.md @@ -16,7 +16,7 @@ Now you can simply use your graphical file manager to copy the files (or see the Once you feel confident that have remembered the new passphrase (if you picked a new one) AND have stored the new masterkey at a safe place (this one is definitely new), delete `old.enc`. -#### Using rsync +#### Copy using rsync I recommend using rsync because it allows to resume interrupted copies and is generally a lot smarter than anything else. @@ -27,7 +27,9 @@ $ rsync -a --progress /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. -#### Space-efficient move +#### Move using rsync + +*Note: If your filesystem is so old that it can only be mounted read-only, you cannot use this method. Create a copy using the instructions above.* 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. -- cgit v1.2.3