Hi,
I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script.
regards
Angshuman
Hi,
I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script.
regards
Angshuman
Is your requirement is below :?
for fname in`ls /fly/*.img` do
echo "File name is :$fname"
done
---------- Post updated at 03:19 AM ---------- Previous update was at 03:18 AM ----------
Correct one is :
for fname in `ls /fly/*.img`
do
echo "File name is :$fname"
done
Hey ! Thx so much ! gr8 learning... i must say