ok, i'm totaly new to linux and scripting so i need some help....
i was using kubuntu for few weeks and i really liked the 'Right Click -> Actions -> Send using bluetooth' so i want to make a script that would send the file i right clicked with the mouse to my cellphone.... this is what i came up with....
#!/bin/bash
# W610
sudo gnome-obex-send -d 00:1B:59:61:02:8A $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
exit 0
now, this works as long as the directory where the file is (or the file) has no spaces.... if i try to send some pic from '/home/darko/My Pictures' gnome-obex-send says something like 'can't find file /home/darko/My'
so, my question is how to make it work with the spaces
i know where to put script and how to make it executable, i just need the help with code....
thx,
darko.



