Ale*_*lex 0 bash terminal scripting
几天前我尝试创建一个shell脚本,它将打开我的下载文件夹中的所有种子文件.我不确定我是否正确写入sh文件,从那时起我收到此消息:
Last login: Fri May 18 22:54:28 on ttys000
LSOpenURLsWithRole() failed for the application /Users/Alex/Downloads/(Demonoid.me)-Adobe_Master_Collection_CS5_(OS_X)__12302562.8934.torrent
with error -10810 for the files
/Users/Alex/Downloads/Coda_1_6_2_[_Plist]_[Serial]_O-Demonoid.me-O_12302562.8934.torrent,
/Users/Alex/Downloads/Coda_1_7_3_[k'd]-((Demonoid.me))_12302562.8934.torrent,
/Users/Alex/Downloads/[kat.ph]grid.systems.in.graphic.design.josef.muller.brockmann.torrent,
and /Users/Alex/Downloads/[kat.ph]pixie.lott.cry.me.out.mp3.housezz.torrent.
job done
/bin/bash: line 8: end: command not found
Run Code Online (Sandbox Code Playgroud)
[流程完成]
在终端我无能为力.我不知道该怎么办.关于它的任何见解?
/bin/tcsh- 这是一个解压措施,只是暂时的)..profile或.bashrc其他任何添加Torrent行的内容./bin/bash.在尝试再次添加Torrent时,请编写一个shell脚本.调试它.只有当您确定它是正确,稳定,可靠并且不会锁定您的终端时,才将其放入您的配置文件中.然后用已打开的终端进行测试 - 打开一个新终端进行测试.然后你仍然有一个解锁终端,你可以解决问题.
如果你有一个图形Vim(Gvim或MacVim),你可以启动它然后编辑你,.profile而不必调整终端首选项.