- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to compare files/folders on two different serv...
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
Discussions
Forums
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
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
тАО12-01-2005 03:05 AM
тАО12-01-2005 03:05 AM
How to compare files/folders on two different servers?
How can I compare the folder and all files and folders under that, on two different servers? ( Now, I don't want to just copy files from one server to the other to make them same. ), any good tools on Unix for comparison? such as file size, timestamp, etc...
And is there any good tool for future synchronization?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:10 AM
тАО12-01-2005 03:10 AM
Re: How to compare files/folders on two different servers?
I can use "rsync -n" for just comparison ( dry run option ), and sync without "-n".
Is there a similar one for HP-UX?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:11 AM
тАО12-01-2005 03:11 AM
Re: How to compare files/folders on two different servers?
For synchronizing between them look at the rsync command which can be found on the software porting and archive center.
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.4/
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:16 AM
тАО12-01-2005 03:16 AM
Re: How to compare files/folders on two different servers?
There is already a set of utilities to do just what you want. rdist (which you already have on your system) and rsync.
http://gatekeep.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.4/
Both of these have options that will simply list the files that it would copy rather than copying them. Rsync is a more efficient in that it can transfer just the portions of files that have changed.
Man rdist for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:16 AM
тАО12-01-2005 03:16 AM
Re: How to compare files/folders on two different servers?
How to use "diff" to compare a folder and all its subtree folders/files ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:20 AM
тАО12-01-2005 03:20 AM
Re: How to compare files/folders on two different servers?
see "man diff"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:20 AM
тАО12-01-2005 03:20 AM
Re: How to compare files/folders on two different servers?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 03:29 AM
тАО12-01-2005 03:29 AM
Re: How to compare files/folders on two different servers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 06:59 AM
тАО12-01-2005 06:59 AM
Re: How to compare files/folders on two different servers?
http://h71028.www7.hp.com/enterprise/downloads/ccmon-service-brief.pdf
Or, take a look at Tripwire.
Talk to your HP Account Rep for CCMON - cost is usually 1 technical services day.
Rgds...Geoff