mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 09:13:56 +00:00
Replaced /Users/$USER by $HOME
This commit is contained in:
parent
f8442c1574
commit
e82e217f3a
@ -284,9 +284,9 @@ veracrypt --text --mount --pim "0" --keyfiles "" --protect-hidden "no" "\$volume
|
|||||||
mkdir -p "\$mount_point/Versioning"
|
mkdir -p "\$mount_point/Versioning"
|
||||||
|
|
||||||
files=(
|
files=(
|
||||||
"/Users/$USER/.gnupg"
|
"$HOME/.gnupg"
|
||||||
"/Users/$USER/.ssh"
|
"$HOME/.ssh"
|
||||||
"/Users/$USER/Library/Keychains"
|
"$HOME/Library/Keychains"
|
||||||
)
|
)
|
||||||
|
|
||||||
for file in "\${files[@]}"; do
|
for file in "\${files[@]}"; do
|
||||||
|
@ -234,8 +234,8 @@ borg create \\
|
|||||||
--stats \\
|
--stats \\
|
||||||
--verbose \\
|
--verbose \\
|
||||||
"\$repo::\$prefix{now:%F-%H%M%S}" \\
|
"\$repo::\$prefix{now:%F-%H%M%S}" \\
|
||||||
"/Users/$USER/.ssh" \\
|
"$HOME/.ssh" \\
|
||||||
"/Users/$USER/Library/Keychains"
|
"$HOME/Library/Keychains"
|
||||||
|
|
||||||
printf "%s\n" "Done"
|
printf "%s\n" "Done"
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user