out_to_in.sh 250 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
declare -i n
declare -i n1

n1=`ls confout_* | wc -l`

let n=0
let n1=n1-1
while [ $n -le  $n1 ];
   do
     export file_out="confout_"$n
     export file_in="confin_"$n
     echo $file_out  $file_in
     mv $file_out $file_in
     let n=n+1
   done