TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
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-