[clamav-users] nautilus-actions: is my command for clamscan, correct?
Christian
abelschreck3 at freenet.de
Sun Aug 12 12:02:20 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180812/77d81da0/attachment.htm>
More information about the clamav-users
mailing list