I get grep: warning: stray \ before : when I run the scrip on Unraid.
Is something wrong or is it expected?
The command is: bash /path/to/script/rsync_tmbackup.sh --log-dir /path/to/log/folder /path/to/source user@destination:/path/to/remote/folder
I need to run it like bash /path/to/script/rsync_tmbackup.sh because if i run it like rsync_tmbackup.sh i get -bash: rsync_tmbackup.sh: command not found
I get
grep: warning: stray \ before :when I run the scrip on Unraid.Is something wrong or is it expected?
The command is:
bash /path/to/script/rsync_tmbackup.sh --log-dir /path/to/log/folder /path/to/source user@destination:/path/to/remote/folderI need to run it like
bash /path/to/script/rsync_tmbackup.shbecause if i run it likersync_tmbackup.shi get-bash: rsync_tmbackup.sh: command not found