Public bug reported: I'm using very simple scripts, but when the file names have spaces in then, scripts won't function on the files. Using two files: "myfile one.txt" "myfile two.txt"
What gets passed to the scripts is: myfile one.txt myfile two.txt No way to determine what the files are, or to act on them. Putting quotes around each file name would fix it I believe. Ubuntu 12.04 Desktop AMD64 with all the updates installed as of today. lisa@lisa-Inspiron-1545:~/.gnome2/nautilus-scripts$ dpkg -l | grep nautilus ii libnautilus-extension1a 1:3.4.2-0ubuntu1 libraries for nautilus components - runtime version ii nautilus 1:3.4.2-0ubuntu1 file manager and graphical shell for GNOME ii nautilus-data 1:3.4.2-0ubuntu1 data files for nautilus ii nautilus-dropbox 0.7.1-2 Dropbox integration for Nautilus ii nautilus-sendto 3.0.1-2ubuntu2 integrates Evolution and Pidgin into the Nautilus file manager ii nautilus-sendto-empathy 3.4.2-0ubuntu1 GNOME multi-protocol chat and call client (nautilus-sendto plugin) ii nautilus-share 0.7.3-1ubuntu2 Nautilus extension to share folder using Samba ** Affects: nautilus (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1003424 Title: Nautilus passes file list to scripts without quotes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1003424/+subscriptions -- ubuntu-bugs mailing list email@example.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs