[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tuhs
Subject:    Re: [TUHS] Filename wildcarding (was: origin of the name 'glob')
From:       Dave Horsfall <dave () horsfall ! org>
Date:       2017-07-10 21:56:31
Message-ID: alpine.BSF.2.21.1707110745060.20882 () aneurin ! horsfall ! org
[Download RAW message or body]

On Mon, 10 Jul 2017, Johnny Billquist wrote:

> > > I vaguely remember something like "PIP *.TXT *.OLD" to rename files 
> > > (the "*" was interpreted by the command itself, not the 
> > > interpreter).
> 
> Well, that would not rename files, but copy them and at the same time 
> changing their names. But you could also do renaming in a similar way, 
> but usually it would require a switch to PIP telling it that you wanted 
> the files renamed, and not copied.

[...]

Yep; I remember now...  At nearly 65, my memory is getting a bit hazy :-)

And I've just remembered that there was a script "mved" written by Brian 
Coogan which would rename files; its usage was "mved [-n] =.c =.c.old" to 
rename *.c to *.c.old.  I have it here somewhere, and could post it if 
necessary.

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic