Results 1 to 8 of 8

Thread: clamscan command line

  1. #1

    Default clamscan command line

    I'm trying to fix a script in another topic. One line scans the linux directories. The other scans the windows directories. So, I tested both on the command line.


    Code:
    clamscan -r --exclude-dir=windows --exclude-dir=/sys --exclude-dir=/proc --exclude-dir=/dev --move=virus-vault
    This works fine.

    Code:
    >clamscan -r --include-dir=windows --move=virus-vault
    
    /: Excluded
    
    ----------- SCAN SUMMARY -----------
    Known viruses: 829265
    Engine version: 0.96.1
    Scanned directories: 0
    Scanned files: 0
    Infected files: 0
    Data scanned: 0.00 MB
    Data read: 0.00 MB (ratio 0.00:1)
    Time: 4.966 sec (0 m 4 s)
    "virus-vault" exists. What's wrong with the command line?

  2. #2
    Carlos E. R. NNTP User

    Default Re: clamscan command line

    On 2010-09-15 22:36, lord valarian wrote:

    > "virus-vault" exists. What's wrong with the command line?


    What's the problem? Perhaps I'm think tonight, but I don't see...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

  3. #3

    Default Re: clamscan command line

    Quote Originally Posted by Carlos E. R. View Post
    On 2010-09-15 22:36, lord valarian wrote:

    > "virus-vault" exists. What's wrong with the command line?


    What's the problem? Perhaps I'm think tonight, but I don't see...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))
    It should recursively scan the windows directory. It scans no files. There is a newer version of clamscan. Online-update hasn't notified me of one.

  4. #4
    Carlos E. R. NNTP User

    Default Re: clamscan command line

    On 2010-10-06 23:36, lord valarian wrote:
    >
    > Carlos E. R.;2223263 Wrote:
    >> On 2010-09-15 22:36, lord valarian wrote:
    >>
    >>> "virus-vault" exists. What's wrong with the command line?

    >>
    >> What's the problem? Perhaps I'm think tonight, but I don't see...


    >
    > It should recursively scan the windows directory. It scans no files.


    [CODE]
    clamscan -r --include-dir=windows --move=virus-vault
    [CODE]

    Is that the command line you are using? You are not giving a path to scan.



    > There is a newer version of clamscan. Online-update hasn't notified me
    > of one.


    No hurry :-p

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  5. #5

    Default Re: clamscan command line

    Code:
    clamscan -r --include-dir=windows --move=virus-vault
    The include command should do that. The previous command works fine. How do I setup the correct command line?

  6. #6
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: clamscan command line

    You used relative path to windows directory. Is that correct?
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  7. #7
    Carlos E. R. NNTP User

    Default Re: clamscan command line

    On 2010-10-09 03:06, lord valarian wrote:
    >
    > Code:
    > --------------------
    >
    > clamscan -r --include-dir=windows --move=virus-vault
    >
    > --------------------
    >
    >
    > The include command should do that.


    No, it doesn't. It might work if the directory "windows" is hanging from the pwd.

    > The previous command works fine.


    You said the other day it does not work.

    > How do I setup the correct command line?


    I would simply do:

    Code:
    clamscan -r /windows

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  8. #8

    Default Re: clamscan command line

    Code:
    clamscan -r /windows
    It works. Thanks.




    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)[/QUOTE]

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •