Results 1 to 6 of 6

Thread: diff two directory trees quickly?

  1. #1
    Join Date
    Jun 2008
    Location
    Prescott, AZ
    Posts
    1,175

    Default diff two directory trees quickly?

    Dear Opensuse users - using diff on a couple of full 4TB drives can be REALLY slow because it checksums all files to do the comparison. I've been reading the diff docs, but there doesn't seem to be a way to compare two trees simply by the file attributes, which is to say, the system reported filesize, date, etc. Is there a way to do this? Someone suggested ls-ing the two directories into two files and diffing those two files...

    Thank You,
    Patti

  2. #2

    Default Re: diff two directory trees quickly?

    I'm using the directory sync module in Krusader for such tasks - but never tried it on full 4TB drives...
    You can fine tune the comparison in many ways and all that in a comfortable GUI.

    Olaf

  3. #3
    Join Date
    Jun 2008
    Location
    Prescott, AZ
    Posts
    1,175

    Default Re: diff two directory trees quickly?

    Quote Originally Posted by opuetz View Post
    I'm using the directory sync module in Krusader for such tasks - but never tried it on full 4TB drives...
    You can fine tune the comparison in many ways and all that in a comfortable GUI.

    Olaf
    Thanks, Olaf - I will give Krusader a try.

  4. #4
    Join Date
    Oct 2011
    Location
    Germany (Ore Mountains)
    Posts
    428

    Default Re: diff two directory trees quickly?

    How about rsync in dry-run mode?

    Hendrik

  5. #5

    Default AW: Re: diff two directory trees quickly?

    If you compare two directory trees in order to (only) find duplicate files, then fudpes might be worth a try.

    (If not, forget about this post.)

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,484
    Blog Entries
    2

    Default Re: diff two directory trees quickly?

    A Google search returns this interesting Stackoverflow thread which besides stating that there are an enormoug number of options, lists several command line and GUI (KDE) choices
    http://stackoverflow.com/questions/7...trees-in-linux

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

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