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

    Program To Synchronize Two Directories

    Hi there guys,

    I need to find a tool to keep two directories with exactly the same content.
    I want to start it manually.

    I don't want a conventional backup tool for compressing my data files, I want to keep files in your normal form.

    I know I could use "cp -R dirA dirB" but it don't remove dirA excluded files in dirB.

    I was going to write a script for this, but I belive it there must be yet.

    Thanks in advance

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    rsync can do what you want.

    man rsync
    You must always face the curtain with a bow.

  3. #3
    Linux Engineer
    Join Date
    Jan 2005
    Saint Paul, MN
    Quote Originally Posted by Irithori View Post
    rsync can do what you want.

    man rsync
    Last edited by alf55; 05-29-2010 at 05:54 PM. Reason: Corrected unison web link


Posting Permissions

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