If drweb-ctl -h show
Command not found
you have installed version 6.0.X, and you can scan files by this command:
drwebdc file
And you can scan all files in directory:
for file in $(find directory -type f); do drwebdc $file; done
I try:
for file in $(find / -type f); do drwebdc $file; done
Returns:
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
......................................
How do I scan full contents of the hard disk from the root?
for file in $(find / -type f); do drwebdc $file; done
Will scan _all_ files.
You can save report by:
for file in $(find / -type f ); do drwebdc $file; done > report
But this will scan faster:
for file in $(find / -type f ! -empty); do drwebdc $file; done > report
It`s skip empty files
Works!
But, many files results permission denied or
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
........
How can you fix permissions denied or this error?