Date: Tue, 27 Nov 2001 08:41:48 -0700 From: "Totally Jayyness" <Jayyness@mindspring.com> To: "Brian T. Schellenberger" <bts@babbleon.org>, "Edwin Groothuis" <edwin@mavetju.org> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Mass Renaming of Files Message-ID: <006e01c1775a$0946a030$0300a8c0@jayyness.com> References: <Springmail.105.1006808059.0.84387100@www.springmail.com> <20011127164741.F579@k7.mavetju.org> <01112703072100.65893@i8k.babbleon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, I will check these out! ----- Original Message ----- From: "Brian T. Schellenberger" <bts@babbleon.org> To: "Edwin Groothuis" <edwin@mavetju.org>; <jayyness@mindspring.com> Cc: <freebsd-questions@FreeBSD.ORG> Sent: Tuesday, November 27, 2001 1:07 AM Subject: Re: Mass Renaming of Files > On Tuesday 27 November 2001 00:47, Edwin Groothuis wrote: > > On Mon, Nov 26, 2001 at 03:54:19PM -0500, jayyness@mindspring.com wrote: > > > Do any of you know of a script that could be written or possibly existst > > > that would search for and replace spaces with underscores? > > I have a script called "unmsdos" that makes names "unix-friendly" (eliminates > spaces as well as leading dashes, ampersands, parentheses, and other cruft. > It also invokes my "uncrnl" program to undo CR-NL if it's a text file. Enjoy. > > BTW, is this worth cleaning up and turning into a port sometime? Opinions > welcome. > > > > > What kind of rename/move are you talking about? > > > > There is, normally, no reason to worry, since you always can use > > "mv 'blaat blaat' /some/other/place" without having to worry about > > spaces. > > Well, you can, but *what* a pain. And when do you do things like piping an > ls into xargs, it gets the names all wrong. Spaces in file names are totally > for the birds. > > > > > If you have to do selections in directories regarding files, it > > might be easier to use Midnight Commander or something. > > > > Edwin > > -- > Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) > Brian, the man from Babble-On . . . . bts@babbleon.org (personal) > http://www.babbleon.org > > -------> Free Dmitry Sklyarov! (let him go home) <----------- > > http://www.eff.org http://www.programming-freedom.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006e01c1775a$0946a030$0300a8c0>