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@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