[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu, 15 Sep 2005 17:22:07 -0000 (GMT) -->
- <!--x-from-r13: qbpk ng vb.pbz (qbpk ng vb.pbz) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] regexp help -->
- <li><em>date</em>: Thu, 15 Sep 2005 17:22:07 -0000 (GMT)</li>
- <li><em>from</em>: docx at io.com (docx at io.com)</li>
- <li><em>in-reply-to</em>: <<a href="msg00325.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00325.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] regexp help</li>
You don't mention what you're using, but if you're using perl to process the
files, you can do something like the following. . .
$lc_tag = lc($tag); $file =~ s/$tag/$lc_tag/g;
Then, for moving the image files and rationalizing the filenames, you can do
something like the following:
for i in `\ls images/*.gif`; do
j=`echo $i | tr 'A-Z' 'a-z'`
mv $i $j
done
--
Dylan Northrup - docx at io.com - <a rel="nofollow" href="http://www.io.com/~docx/">http://www.io.com/~docx/</a>
"Harder to work, harder to strive, hard to be glad to be alive, but it's
really worth it if you give it a try." -- Cowboy Mouth, 'Easy'
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00325" href="msg00325.html">[ale] regexp help</a></strong>
<ul><li><em>From:</em> ale at spinnerdog.com (David Hamm)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00326.html">[ale] regexp help</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00328.html">[ale] regexp help</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00328.html">[ale] regexp help</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00329.html">[ale] regexp help</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00327"><strong>Date</strong></a></li>
<li><a href="threads.html#00327"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>