简体   繁体   English

有人能弄清楚这个 bash 脚本有什么问题吗?

[英]can someone figure out whats wrong in this bash script [closed]

the issue is with line 6 i really need to get this working please help问题出在第 6 行,我真的需要让它工作,请帮忙

for f in "$@"
do
    ln -s "$f" "/Users/Default/Documents/GoogleSync"
    basename "$f"
    s=$(basename -- "$f")
    /usr/local/bin/mysides add "$s" file://Users/Default/Documents/GoogleSync"${s// /%20}"
done

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM