tomasrey88
August 1st, 2009, 07:52 PM
Because of licensing requirements, ClamAV cannot scan RAR files for viruses. I would like to find all RAR files on my Windows (FAT32) hard drive partitions by scanning for them with a command. After examining the file names that are found, I would like to delete suspicious and/or not currently useful files. What terminal command(s) would I use? Please tell me exactly what I would need to type as I am a total Linux/Ubuntu noob. I just started using Linux a couple of days ago. Thanks.
I can use
sudo find /directory/subdirectory/*.rar
and
sudo find /directory/subdirectory/*.r00
However, this would not work
sudo find/directory/*.rar
In other words, find cannot find a file type by looking file-by-file in my entire hard drive. It can only look into one subdirectory or folder at one time. Is there a command that will allow me to look in the entire hard drive for a specific file type or file extension? Thanks.
I can use
sudo find /directory/subdirectory/*.rar
and
sudo find /directory/subdirectory/*.r00
However, this would not work
sudo find/directory/*.rar
In other words, find cannot find a file type by looking file-by-file in my entire hard drive. It can only look into one subdirectory or folder at one time. Is there a command that will allow me to look in the entire hard drive for a specific file type or file extension? Thanks.