[clamav-users] path of files
philippe valarcher
valaquarus at gmail.com
Thu Nov 12 17:56:11 UTC 2020
thank you very much
I did not think of the -r option and this will help me.
Cordialement.
Unus Ex Altera
Philippe Valarcher
valaquarus at gmail.com
Le jeu. 12 nov. 2020 à 18:25, G.W. Haywood via clamav-users <
clamav-users at lists.clamav.net> a écrit :
> Hi there,
>
> On Thu, 12 Nov 2020, valaquarus via clamav-users wrote:
>
> > how to get the full path of a file moved by clamscan --move = DIRECTORY
> > to restore it to its place if it is a false positive?
>
> Because false positives are so common I feel that the --move option is
> dangerous and I would never use it.
>
> Normally (i.e. unless you tell it otherwise) clamscan prints the full
> path of files which it scans to stdout. If you need to record what's
> been scanned you can e.g. redirect stdout to a file:
>
> clamscan -r /path/to/scanned/directory > /tmp/scan_output
>
> This will show you both those files which are found to be 'OK' and
> those which are not. You can suppress printing of the 'OK' files with
> the '-o' option on the command line, see 'man clamscan'.
>
> --
>
> 73,
> Ged.
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users at lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20201112/61cf3d09/attachment.htm>
More information about the clamav-users
mailing list