Nautilus script to open several folders at once
I'm currently using the following Nautilus (actually it's called Files in Gnome) scripts to open or enqueue music folders in Audacious:
#!/bin/bash for FILE in "$@"; do audacious "$FILE" done
#!/bin/bash for FILE in "$@"; do audacious -e "$FILE" done
While the second one is always working flawlessly, even with several folders, the first one only opens one folder, when several are selected.
Any clue why and how to solve that?
Thanks in advance!
You should put all the files on the same command line:
#!/bin/bash audacious "$@"
#!/bin/bash audacious -e "$@"