[Ilugc] lynx for files not ending with .html
Ramanraj K
ramanraj at md4.vsnl.net.in
Wed Jun 30 05:52:01 IST 2004
LEO PRASATH wrote:
>
>i have problem using lynx with the files i downloaded with Htrack
>which resemble.. "prob.rt.who?pl=12" but no .html extension.
>
A bash script could be used to rename or process such files. In your
case, it could be:
#!/usr/bin/bash
for file in prob.rt.who?pl=*;
do
mv $file $file.html
done
There may be a single line perl or sed command, and those who know it
may kindly post.
More information about the ilugc
mailing list