laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.38k stars 446 forks source link

Bash/shell script syntax error in line 467 #168

Closed shmilee closed 4 years ago

shmilee commented 4 years ago
./rsync_tmbackup.sh: line 467: -D --numeric-ids --links --hard-links --one-file-system --itemize-changes --times --recursive --perms --owner --group --stats --human-readable=-D --numeric-ids --links --hard-links --one-file-system --itemize-changes --times --recursive --perms --owner --group --stats --human-readable --compress: command not found

so we should change line

$RSYNC_FLAGS="$RSYNC_FLAGS --compress"

to

RSYNC_FLAGS="$RSYNC_FLAGS --compress"

It seems this is a small mistake.

Hierosme commented 4 years ago

i can confirm that.

With a IDE it have SHELL interpreter, you can found and fixe every warining. It error is the only one with crtical status.