![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
Quote:
{ 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 |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|