delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/20/12:53:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 20 May 2005 12:52:44 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jonathan Arnold <jdarnold AT buddydog DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Command to move groups of files
In-Reply-To: <428E00F9.7000901@buddydog.org>
Message-ID: <Pine.GSO.4.61.0505201250140.25060@slinky.cs.nyu.edu>
References: <428DE516 DOT 8020901 AT buddydog DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0505200948330 DOT 10472 AT slinky DOT cs DOT nyu DOT edu> <428E00F9 DOT 7000901 AT buddydog DOT org>
MIME-Version: 1.0

On Fri, 20 May 2005, Jonathan Arnold wrote:

> Igor Pechtchanski wrote:
> > On Fri, 20 May 2005, Jonathan Arnold wrote:
> >
> > > Somone a month or so ago posted a list of little known Cygwin
> > > commands, and in that list was a cool command that allowed you
> > > to rename a list of files, like thus:
> > >
> > > cmd First*.* Second*.*
> > >
> > > which would rename all files starting with "First" to be "Second".
> > > I used this command a bit, and then promptly forgot about it until
> > > I really needed to use it yesterday.
> > >
> > > Could someone remind me of the name of that command?
> >
> > You must be thinking of "rename" from the new cygutils.  FWIW, a Google
> > search for "zzapper commands cygwin rename" brought it up as the first
> > hit (I just happened to remember exactly *who* posted that list). :-)
>
> I'm not sure that's the exact post,

Yeah, Google's a bit off (it gets you the thread, though).  Searching for
"zzapper cygwin rename" *does* get you the exact post, FWIW.

> but it's ironic that cgf's reply to it says that the challenge will be
> to remember the command exists! Well, I remembered it existed, just not
> what it was.
>
> But I did try "man -k files", and I now notice that rename doesn't show
> up in the list. Is there something I'm supposed to run to update the -k
> database?

I believe it's /usr/sbin/makewhatis, but I could be wrong.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019