Re: changing multiple partial file names Windows Vista

Subject: Re: changing multiple partial file names Windows Vista
From: Peter Neilson <neilson -at- windstream -dot- net>
To: techwr-l -at- lists -dot- techwr-l -dot- com
Date: Mon, 15 Nov 2010 12:31:41 -0500

On 11/15/2010 11:48 AM, Ken Poshedly wrote:
> Is anybody aware of a freeware product that allows replacement of _only specific
> characters_ within multiple filenames?

I do this stuff routinely in cygwin, a free tool that makes MS Windows
look like a Unix "bash" shell. I would write the set of filenames into a
file:

ls -1 *660*.fm >tmpfile

(That's a numeral one in "-1", not an ell. It causes the names to be
formatted as a single column, not spread across the page.)

So tmpfile would now contain:

aaa660aaa.fm
bbb660bbb.fm
etc.

I'd then use emacs (or vi, or whatever) to turn the list of names into
shell commands that look like this:

mv aaa660aaa.fm aaa550aaa.fm
mv bbb660bbb.fm bbb550bbb.fm
etc.

I would then execute the file:

sh <tmpfile

My preference for Unix (or linux) and emacs stems from my use of them
since they first appeared, back in the dark ages.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create and publish documentation through multiple channels with Doc-To-Help.
Choose your authoring formats and get any output you may need. Try
Doc-To-Help, now with MS SharePoint integration, free for 30-days.
http://www.doctohelp.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


Follow-Ups:

References:
changing multiple partial file names Windows Vista: From: Ken Poshedly

Previous by Author: Re: Need some grammar help
Next by Author: Re: Interesting visuals on control panel
Previous by Thread: RE: changing multiple partial file names Windows Vista
Next by Thread: RE: changing multiple partial file names Windows Vista


What this post helpful? Share it with friends and colleagues:


Sponsored Ads