Results 1 to 2 of 2

Thread: Comparing two directories

  1. #1

    Comparing two directories

    Hello, I have a backup server on my network, that I am using rsync/SSH to perform backups to. I was wondering if there was a way to compare my source directory with the directory on the remote machine, to ensure that my data was copied properly. I don't have much faith in RAID yet, especially with my driver compilation giving me a minor error (although it appears to be working fine). I know about 'diff' but am not sure if it can do a network directory... I was hoping for something simple in the area of an md5sum, but I can't get that to work on a directory... Thanks in advance!
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Clifton Park, NY
    You may want to use rsync itself to do the compare with dry run or compare options. Drive it with a shell script and capture exit codes to decide what to do if not consistent.

Similar Threads

  1. Sub-Virtual Directories
    By honey bee in forum Linux - General Topics
    Replies: 0
    Last Post: 09-20-2007, 07:46 AM
  2. Help comparing contents of 2 files
    By trickster in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 10-25-2005, 09:53 PM
  3. Comparing two servers
    By Epsilon in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 08-05-2003, 01:38 PM
  4. comparing mac os X Darwin and other unixes
    By capybara in forum Linux Distros
    Replies: 2
    Last Post: 08-16-2002, 02:37 AM
  5. Comparing WineX to MS Windows for running gmaes
    By pbharris in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-31-2002, 03:31 PM


Posting Permissions

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