<div dir="ltr"><br><br><div class="gmail_quote">2008/8/14 Michael B. Trausch <span dir="ltr"><<a href="mailto:mike@trausch.us">mike@trausch.us</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 2008-08-14 at 02:49 -0600, JK wrote:<br>
> OK Mike, I just have to know: did you just know all this off the<br>
> top of your head, or did you spend a couple hours goofing around<br>
> with bash to figure it out? For me, it would be the "couple<br>
> hours goofing around" thing, which is why I rarely answer these<br>
> questions in such detail :-)<br>
<br>
</div>It's something I have done several times before. Users of GUIs *love*<br>
spaces and other weird characters in their filenames, and so most of the<br>
shell scripts that I have sitting in my $HOME/bin directory use the<br>
"while read" method, combined with find, to act on directory trees.<br>
(For example, I have a shell script that takes an entire directory tree<br>
and normalizes the names to lowercase that does it the same way.)</blockquote><div><br> </div><div>I like changing all the names to use "_" instead of " " on windows machines...<br>smbmount then a cron job to clean things up...<br>
<br>OK. So it _does_ sound a bit like BOFH tactics but it also seems to have a bit of speed-up in the file indexing process (no measurements just a perception).<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="Wj3C7c"><br>
--- Mike<br>
<br>
--<br>
My sigfile ran away and is on hiatus.<br>
</div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III <br><br>
</div>