That seems to work in the current version, $1 and $2 display each the
correct filename

** Changed in: nautilus (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1003424

Title:
  Nautilus passes file list to scripts without quotes

Status in nautilus package in Ubuntu:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1003424/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to