LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2011, 10:40 AM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 379

Rep: Reputation: 20
Binary Compare of directory structure.


diff has the ability to trasverse directory structures. cmp has the ability to manage binary files.

I'm looking for something which allows me to compare a directory's contents, including files and subdirectories, and so a binary comparison.

Any suggestions, scripts, etc. which may be of help?

FWIW, some of my directories are huge, with huge (image) files in them.

Thanks much for any pointers.
 
Old 04-13-2011, 01:30 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
So you want to compare two directory trees? If so, you already mentioned the solution yourself!
 
Old 04-13-2011, 01:35 PM   #3
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 379

Original Poster
Rep: Reputation: 20
I want to compare two image laden directory trees. diff does not work well on large files which are binary. It dies. cmp is the preferred utility, but doesn't have a recursive type option.

One solution might be a script using cmp...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 10:18 AM
Searching software to compare binary files in hex 51dunk Linux - Software 6 01-20-2009 08:07 AM
Home Jail Folder Structure like Gobolinux Directory Structure luispt Linux - General 3 07-26-2008 07:46 PM
LXer: Edit and compare giant binary files with lfhex LXer Syndicated Linux News 0 05-27-2008 06:50 AM
directory compare tmoorman Linux - Newbie 2 09-26-2003 02:45 PM


All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration