Bash script argument with spaces -
I am trying to use the Torrent-Video-Player script but it does not work with those files, In which are spaces, this is a Nautilus script.
#! / Bin / bash xterm -e "peerflix" $ 1 "--vlc" "test.torrent" - & gt; OK "test test.torrent" - & gt; The prefix test can not be performed: no such file or directory was found
Replace the line
xterm -e "peerflix" $ 1 "--vlc" to
xterm -e "peerflix '$ 1 "--vlc" or
xterm -e "prefix \" $ 1 \ "--vlc" The first form is equal to:
xterm -e "peerflix" $ 1 "--vlc" It is not what you expect Were there.
Comments
Post a Comment