Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ shellcheck test-rsync.sh
- In test-rsync.sh line 1:
- SOURCE="/local\ folder/path/"
- ^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang.
- ^------------------^ SC2089: Quotes/backslashes will be treated literally. Use an array.
- In test-rsync.sh line 3:
- rsync -arv --filter=":- .gitignore" $SOURCE $DESTINATION
- ^-----^ SC2090: Quotes/backslashes in this variable will not be respected.
- ^-----^ SC2086: Double quote to prevent globbing and word splitting.
- For more information:
- https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y...
- https://www.shellcheck.net/wiki/SC2089 -- Quotes/backslashes will be treate...
- https://www.shellcheck.net/wiki/SC2090 -- Quotes/backslashes in this variab...
Advertisement
Add Comment
Please, Sign In to add comment