diff --git a/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md b/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md index d18a925..08ded22 100644 --- a/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md +++ b/how-to-back-up-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md @@ -284,9 +284,9 @@ veracrypt --text --mount --pim "0" --keyfiles "" --protect-hidden "no" "\$volume mkdir -p "\$mount_point/Versioning" files=( - "/Users/$USER/.gnupg" - "/Users/$USER/.ssh" - "/Users/$USER/Library/Keychains" + "$HOME/.gnupg" + "$HOME/.ssh" + "$HOME/Library/Keychains" ) for file in "\${files[@]}"; do diff --git a/how-to-configure-borg-client-on-macos-using-command-line/README.md b/how-to-configure-borg-client-on-macos-using-command-line/README.md index 4008e9b..ba6b134 100644 --- a/how-to-configure-borg-client-on-macos-using-command-line/README.md +++ b/how-to-configure-borg-client-on-macos-using-command-line/README.md @@ -234,8 +234,8 @@ borg create \\ --stats \\ --verbose \\ "\$repo::\$prefix{now:%F-%H%M%S}" \\ - "/Users/$USER/.ssh" \\ - "/Users/$USER/Library/Keychains" + "$HOME/.ssh" \\ + "$HOME/Library/Keychains" printf "%s\n" "Done" EOF