[ubuntu-studio-devel] File Manager

Ralf Mardorf ralf.mardorf at alice-dsl.net
Thu Jun 18 14:23:43 UTC 2015


On Thu, 18 Jun 2015 14:55:27 +0200, Ralf Mardorf wrote:
>Final solution, you can use
>
>exiftool %F
>         ^^ instead of %f  

Oops,

this also works when using a shell and for the use with roxterm and the
wrapper it doesn't work with %F, but with "%F" :).

In the end I prefer for my workflow not to provide exiftool by a task,
nor by SpaceFM's terminal option.

I had a menu

exiftool                          Ctrl+Escape  [1]
exiftool all selected files shell Shift+Escape [2]
exiftool all selected files task               [2]

[1] roxterm -e exiftool-wrapper %f
[2] exiftool %F

compared all options and  decided to deleted both entries [2] and made
the menu

exiftool                          Ctrl+Escape  [new]

[new] roxterm --maximize -e exiftool-wrapper "%F"

This fits best to my needs, but as Len already pointed out, for images
there might be better tools than file managers.

Unfortunately with the quotes it fails for file names including spaces.

Editing the script doesn't help.

#!/bin/bash
exiftool "$*"

fails with several spaces one after the other.

exiftool $* fails too, $@ fails too.

In the end I reverted to exiftool "$@", since it's ok for CLI and
roxterm --maximize -e exiftool-wrapper %f

and I stay with this solution, others might use e.g. a SpaceFM task,
that seems to enables usage F% (or I didn't test hard enought).

-- 
exiftool-wrapper

#!/bin/bash
exiftool "$@"
echo -e "\nPress any key to exit."
read -n1 char
echo
exit



More information about the ubuntu-studio-devel mailing list