Newbie to ksh any help would be appreciated.
I need to loop through a directory and copy all the *.xls files to a different directory based off of what value is returned by a sql query. Something like this...
for each file in folder
where file like *.xls
run sql
cp to new folder
I need to loop through a directory and copy all the *.xls files to a different directory based off of what value is returned by a sql query. Something like this...
for each file in folder
where file like *.xls
run sql
cp to new folder