mirror of https://github.com/Chizi123/Scripts.git

Joel Grunbaum
2020-03-29 9af599eb3eb81f467225ff80fefab8010dbfdf9b
better string comparison
1 files modified
2 ■■■ changed files
backup.sh 2 ●●● patch | view | raw | blame | history
backup.sh
@@ -2,7 +2,7 @@
cd /home/joel/OneDrive
if [ $1 == "sync" ]; then
if [ "$1" = "sync" ]; then
    echo Syncing
    BACKUP_DIR="/backup/work/"
    echo OneDrive Personal