The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need a sheel script to compare no of file on diffrent servers ashahzad Shell Programming and Scripting 1 01-31-2008 09:12 AM
compare 2 Solaris servers melanie_pfefer Shell Programming and Scripting 2 01-10-2008 12:13 PM
moving directories to new directories on multiple servers mackdaddy07 Shell Programming and Scripting 0 04-06-2007 11:30 AM
File Compare & Move between 2 servers evolve Shell Programming and Scripting 4 11-30-2005 09:10 AM
Compare 2 Directories seongyin UNIX for Dummies Questions & Answers 2 06-01-2005 12:28 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-25-2003
MizzGail's Avatar
MizzGail MizzGail is offline
Registered User
  
 

Join Date: Sep 2001
Location: Syracuse, NY
Posts: 164
Question compare directories on two servers

We are migrating from one server to another. We have encountered problems during testing where some files are missed in the restore and/or permissions do not get restored correctly.
I have been manually checking these items in directories, but its a big system. And this is just the test phase. I don't want to spend hours doing this on the live migration schedule.
I would like to be able to compare like name directories between the two servers.
I have been writing a script to go to the directories and loop through down to file names to create list files, then comparing the list files. I am hoping maybe there is an easier way.
didnt know what to search for in the forums, because maybe its not ftp I really want to use. ?
We are using legatto restore to advfs file systems on digital unix 4.0D. Any thinking out of the box on this???

thanks!
  #2 (permalink)  
Old 03-25-2003
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
Check out rsync at www.rsync.org - might be what you are looking for.

Have used it to replicate a number of commercial websites from a primary server.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0