unix command help

Discussion in 'Site & Server Administration' started by dethfire, Jun 15, 2008.

  1. #1
    If I want to delete all files in a folder that being with the word "preview"? Unix command
     
    dethfire, Jun 15, 2008 IP
  2. st1905

    st1905 Well-Known Member

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Hi there you can use the following command to delete all files starting with preview.

    rm -rf preview*
    Code (markup):
     
    st1905, Jun 15, 2008 IP
    Camay123 likes this.
  3. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Right on. +1 rep for you.
     
    Camay123, Jun 15, 2008 IP
  4. secureserver1

    secureserver1 Banned

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you .
     
    secureserver1, Jun 19, 2008 IP