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.

What would this syntax be?

Discussion in 'General Discussion' started by Izkabola, Jul 4, 2005.

  1. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    Instead of
    cp -a /usr/fileexample/* /usr/3rdparty/fileexample

    I did
    cp -a /usr/fileexample/* /usr/3rdparty

    Is there a way to delete all the files that I copyed into /usr/3rdparty? I want to keep everything intact except the files I just copyed, and those can be deleted.

    Thanks in advance!!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You'll have to remove them manually one by one now. For such reasons, using cp -av is a good idea so that you can see what has actually happened. I'd give you a copy of a standard listing of that directory, but it doesn't exist on my test box.
     
  3. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the reply.
     
Loading...
Similar Threads - syntax
  1. kona333
    Replies:
    3
    Views:
    403

Share This Page