在rsync备份的时候,运用--exclude命令不备份某些目录的时候,如果目录名有()的话,那么shell脚本就会报“syntax error near unexpected token `(”。所以要尽量避免取有括号的目录名
相关文章
- 脚本报错:syntax error near unexpected token
- 解决shell脚本“syntax error near unexpected token `fi'”的问题。
- syntax error near unexpected token '$'\r''
- syntax error near unexpected token `then'问题的解决
- 解决Ubuntu下"syntax error near unexpected token"报错问题
- 执行shell脚本报错:syntax error near unexpected token `或syntax error: unexpected end of file
- Shell脚本报错--syntax error near unexpected token for((i=0;i
- shell脚本数组报错Syntax error: "(" unexpected
- 关于报错“syntax error near unexpected token `”和回车换行
- cocos2d-x编译android版本时出现“/bin/sh: -c: line 0: syntax error near unexpected token”错误