- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to compare files between 2 directories?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2013 11:14 PM
05-12-2013 11:14 PM
Hello,
I'm using HP-UX B.11.11 and I would like to compare the content of 2 different directories, each one on a different machine. The purpuse is to see that both identicals.
I know that rsync can do something like that but I don't have and I don't know how to install it.
Is there any other option/tool for me?
Alternately, I will be happy to learn how to install it.
BR,
Yali.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2013 12:37 AM
05-13-2013 12:37 AM
Re: How to compare files between 2 directories?
Hello all,
The command "dircmp" might help.......pls check and let me know.........
- Tags:
- dircmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2013 02:00 AM
05-13-2013 02:00 AM
Re: How to compare files between 2 directories?
Hi,
The dircmp command compares between directories - yes it fine, but I looking for comparison between 2 directories and their files.
I would like to know whether 2 files with the same names on different directories are exist and if their content is identify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2013 03:04 AM
05-13-2013 03:04 AM
Re: How to compare files between 2 directories?
If you can access the other directory through NFS, you can just use diff on the two directories.
If not, you can use "cksum *" on the two directories and then compare the two outputs.
- Tags:
- cksum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2013 05:34 AM
05-27-2013 05:34 AM
Re: How to compare files between 2 directories?
Hello,
I am using HP-UX b.11.11.
I would like to use rsync command for that version.
Can you please instruct me on how to download and install the command?
Best Regards,
Yali
- Tags:
- rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2013 02:17 PM
05-27-2013 02:17 PM
Solutionrsync for 11.11 was available from HP several years ago but all of the open source programs (called Interneet Express) have been withdrawn. The easiest location to get the program is from the Porting Center:
or for rsync:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-3.0.9/
NOTE: rsync is the best choice to quickly synchronize directories, that is, to make sure that the destination matches the source. If you just want to know if they are the same, use the -n or --dry-run option.
Bill Hassell, sysadmin