Browse Source

Bug fixed: attempted backup with wrong keyword.

master
Carlos Reding 5 months ago
parent
commit
161a010485
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      backup.sh

+ 7
- 1
backup.sh View File

@@ -10,8 +10,14 @@ function backup {
DEST="/run/media/carlos/Elements/Work/College"
PROFILE="home"
;;
"CLONE")
CONFIG_FILE="$HOME/.config/rsync/home.conf"
DEST="/run/media/carlos/Canvio/Work/College"
PROFILE="home"
;;
*)
printf "%s\n" "The profile doesn't exist. Available profiles are: \`home', and \`work'."
printf "%s\n" "The profile doesn't exist. Available profiles are: \`home', \`work', and \`clone' (work)."
return 1
;;
esac

Loading…
Cancel
Save