Originally Posted by
Vaphell
as i said script can do whatever you want, it's you who is the bawss here, not the script
still i haven't found out what your current config is -_-
how is your nautilus-action entry set up? what did you put in command/parameters/working dir fields? %d? %F? i won't mind if you tell me what the descriptions of these placeholders are (legend window)
in your current script put that line:
Code:
for f in "$@"; do echo "$f"; done > /home/yourname/debug.txt
and after triggering your action from nautilus on few files open that debug.txt, because i really want to know what the script gets from n-a. Without it we will be going in circles unproductively and my patience will run out.
In my virtualboxed 11.04 files dumped to debug text file get %20 in place of spaces and that requires additional line of code or two. Is that the case on your system too?
how do I test out what my nautilus actions are - all I do is go:
Code:
cp scriptnamehere.sh ~/.gnome2/nautilus-scripts/
then I cd into the directory and apply
Code:
chmod +x scriptnamehere.sh
Bookmarks