Hi All,
I have a script to convert a file and output the filename with "_output", however it not work. Can help?
echo Please input list file name:
read listn
for file in `cat $listn.txt`
do
convert $file > $file_output
Thanks all!!
Hi All,
I have a script to convert a file and output the filename with "_output", however it not work. Can help?
echo Please input list file name:
read listn
for file in `cat $listn.txt`
do
convert $file > $file_output
Thanks all!!
Use:
convert $file > ${file}_output
instead, supposing that "convert" is a funcion/program/whatever which outputs what you want insisde the new file.
To sum up, use ${file}_output instead.
Regards.
whats the op u are getting
thank you...it's work.