Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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:
    156
    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,472
    Likes Received:
    20
    Trophy Points:
    463
    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:
    156
    Thanks for the reply.
     
Loading...

Share This Page