Christian
2018-08-12 12:02:20 UTC
Hi Scott.
thanks for your suggestion.
The thing is: I really donÂŽt want to use clamtk for the purpose.
And the nautilus-actions context-menu entry for "parameter"Â
 -fa 'Monospace' -fs 12 -hold -e clamscan %f
works really well for files.
What I wanted to know is whether to alter that entry slightly for
folder-scan, like "[...] %d" or "[...]%u".
For reference:
As far as the parameters for the command are concerned, there are the
following (from "parameter legend" for nautilus-actions configuration tool):
Parameter   Description  Â
%b   (first) basename        Â
%B   space-separated list of basenames        Â
%c   count of selected items        Â
%d   (first) base directory        Â
%D   space-separated list of base directory of each selected items  Â
     Â
%f   (first) file name        Â
%F   space-separated list of selected file names        Â
%h   hostname of the (first) URI        Â
%m   mimetype of the (first) selected item        Â
%M   space-separated list of the mimetypes of the selected items     Â
  Â
%n   username of the (first) URI        Â
%o   no-op operator which forces a singular form of execution when
specified as first parameter        Â
%OÂ Â Â no-op operator which forces a plural form of execution when
specified as first parameter        Â
%p   port number of the (first) URI        Â
%s   scheme of the (first) URI        Â
%u   (first) URI        Â
%U   space-separated list of selected URIs        Â
%w   (first) basename without the extension        Â
%W   space-separated list of basenames without their extension        Â
%x   (first) extension        Â
%X   space-separated list of extensions        Â
%%   the « % » character
Perhaps that helps in helping me.
Cheers
Rosika
thanks for your suggestion.
The thing is: I really donÂŽt want to use clamtk for the purpose.
And the nautilus-actions context-menu entry for "parameter"Â
 -fa 'Monospace' -fs 12 -hold -e clamscan %f
works really well for files.
What I wanted to know is whether to alter that entry slightly for
folder-scan, like "[...] %d" or "[...]%u".
For reference:
As far as the parameters for the command are concerned, there are the
following (from "parameter legend" for nautilus-actions configuration tool):
Parameter   Description  Â
%b   (first) basename        Â
%B   space-separated list of basenames        Â
%c   count of selected items        Â
%d   (first) base directory        Â
%D   space-separated list of base directory of each selected items  Â
     Â
%f   (first) file name        Â
%F   space-separated list of selected file names        Â
%h   hostname of the (first) URI        Â
%m   mimetype of the (first) selected item        Â
%M   space-separated list of the mimetypes of the selected items     Â
  Â
%n   username of the (first) URI        Â
%o   no-op operator which forces a singular form of execution when
specified as first parameter        Â
%OÂ Â Â no-op operator which forces a plural form of execution when
specified as first parameter        Â
%p   port number of the (first) URI        Â
%s   scheme of the (first) URI        Â
%u   (first) URI        Â
%U   space-separated list of selected URIs        Â
%w   (first) basename without the extension        Â
%W   space-separated list of basenames without their extension        Â
%x   (first) extension        Â
%X   space-separated list of extensions        Â
%%   the « % » character
Perhaps that helps in helping me.
Cheers
Rosika