Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to copy modified files in one checkout directory to another checkout directory

    I used this command:
    cp -R dir1/ dir2/ but it never copies the modified files in dir1 to dir2?
    dir1 and dir2 have same svn repository root and URL.
    The need is to back up the working copy changes and modify it.
    Any inputs?

  2. #2
    Hello vsrikrsna!

    How's your problem?

    Anyway, I'm not sure if this can help but I would be checking my syntax and paths of source and destination if my cp is failing to copy.

    Hope you find what your looking for, lot's of luck!

    EDIT: And example of what I did in my root directory lately was

    # cp /etc/fstab /etc/fstab.backup

    It copied my fstab to the fstab.backup. I restored the backup later to the original fstab file by:

    # mv /etc/fstab.backup /etc/fstab
    Last edited by nujinini; 07-02-2010 at 04:29 PM.
    Linux User #489667

Posting Permissions

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