Help with 2 Unix scripts

Microsoft Windows xp professional sp2 w/...
August 28, 2010 at 07:09:32
Specs: Windows Server 2003
I am trying to write a unix shell script which will list all the names of the .csv in a current folder( this folder may have other sub folders and other .txt files, ) to A.txt file .


After the above A.txt file is created I am doing some processing and then after my processing is finished I want to move all the file in the A.txt file to a archive directory.

Can some one help me with the script pls..

Thanks,Mora


See More: Help with 2 Unix scripts

Report •

#1
September 3, 2010 at 01:20:58
#!/bin/bash
ls /path/*.csv /path/csv-list
... ... ...
... ... ...
for i in `cat /path/csv-list`
do
cp $i /archive-directory
done

Report •
Related Solutions


Ask Question