This little tool will help you escape cmdline arguments. Per default it'll spawn a GUI but if you run it on a headless machine it'll just run a simple CLI.
Start Escape Tool:
Code: Select all
filebot -script fn:escape
http://filebot.net/scripts/escape.groovy