Find the answer to your Linux question:
Results 1 to 3 of 3
Hi. I've got two directories ('original' and 'copy') with subdirectories inside and I edit files within 'original'. I want to copy *only* modified files of 'original' into 'copy'. Which is ...
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    11

    How to copy only modified files between two directories

    Hi.

    I've got two directories ('original' and 'copy') with subdirectories inside and I edit files within 'original'.

    I want to copy *only* modified files of 'original' into 'copy'. Which is the best way to do this with shell commands?

    Thank you very much.

  2. #2
    Just Joined! T3ddy's Avatar
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    19

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    You might also consider looking at rsync, which is probably one of the most useful tools in the universe. Well, it's pretty useful anyway.

Posting Permissions

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