The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

illegal files

Discussion in 'General Discussion' started by superhos, Jun 27, 2006.

  1. superhos

    superhos Member

    Joined:
    Jun 4, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    how can i scan for the likes of mp3's mpg's etc on my vps server?

    certain files that are over a certain limit?
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    using the locate or find commands from the shell
     
  3. superhos

    superhos Member

    Joined:
    Jun 4, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    could you shed a bit more light please!!


    thanks
     
  4. CAeddie

    CAeddie Member

    Joined:
    Aug 3, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    from shell I think it's:

    find / -name *.mp3
     
  5. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    from the shell, type:

    updatedb

    that will take a short time to index the files on your system, then do a locate for each file type you wish to search for, e.g.:

    locate *.mp3 | more


    - the more command ensures that the output pauses when it becomes too big to fit on the screen
     
Loading...

Share This Page