The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
list the files but exclude the files in subdirectories shyjuezy UNIX for Dummies Questions & Answers 8 10-15-2008 10:42 AM
List only the files chandran.m SUN Solaris 5 12-06-2007 12:03 PM
How to list top 10 files satish_1983 UNIX for Dummies Questions & Answers 4 10-26-2007 05:05 AM
list files alisevA3 UNIX for Dummies Questions & Answers 2 03-20-2007 11:40 PM
list files avadhani UNIX for Dummies Questions & Answers 7 06-20-2005 11:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 08-15-2007
Registered User
 

Join Date: Jul 2007
Posts: 53
Quote:
Originally Posted by blowtorch View Post
I never said that the steps that I mentioned were to be executed manually. Have you understood what I was trying to say?
i used the fo;;owing script and its not working

{
SOURCESVR=$1
DESTINATIONSVR=$2
DESTINATIONDIR=$3
MIGRATE_FILE_LIST=$4
SOURCEDIR=$5
SOURCELIST=$6

ssh user@DESTINATIONSVR " cd ${DESTINATIONDIR};ls *.sun >>SOURCELIST" #to log onto the destination server and listing the .sun
files that have been copied from the source#
if [[ -r ${SOURCELIST} ]]; then
while read SOURCELIST;do
diff ${SOURCELIST} ${MIGRATE_FILE_LIST} >>diff.txt
done
fi
pls can you tell me whats wrng with it
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0