[Ilugc] lynx for files not ending with .html
- From: sridharinfinity@xxxxxxxxx (Sridhar R)
- Date: Wed Jun 30 12:25:19 2004
On Wed, 30 Jun 2004 05:52:01 +0530, Ramanraj K <ramanraj@xxxxxxxxxxxxxxx> wrote:
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
A better solution is to use the `file` utility to determine which
files are actually HTML (XHTML) and rename accordingly.
--
All for the Best
Sridhar -
http://cs.annauniv.edu/~rsridhar
Other related posts: