Results 1 to 3 of 3

Thread: rsync doubt

  1. #1
    Join Date
    Feb 2004
    Posts
    1,226

    rsync doubt

    does anyone knows how to use rsync to generate an "image" of a directory?

    i want to create a dir exactly the same as /home (Drive 1) in Drive 2

    using the minimum ammount of transfers/cpu (so it would re-send just files that were modified or doesn't exist anymore...should also delete files that were deleted and so on, keep permissions, owner, etc...)

    thanks

  2. #2
    Join Date
    Mar 2004
    Posts
    66
    i use #rsync -Cavz --delete source_dir dest_dir and works great.


    #man rsync

  3. #3
    Join Date
    Feb 2004
    Posts
    1,226
    Originally posted by davila
    i use #rsync -Cavz --delete source_dir dest_dir and works great.


    #man rsync
    thanks!

    i just removed -Czv
    hehe...
    this "-a" is what i was looking for

Posting Permissions

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