> A nice bash for loop with a file wildcard will do it...
>
> As will the RENAME command...
>
> "find" also will work with -exec...
>
> Ah the possibilities with Linux...
>
> -JMS
Missed most of this, but perhaps you are interested in a one liner like
for a in ; do mv $a $a; done
Paul
nday, July 29, 2001 12:54 PM
To: Randy Kramer
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [newbie] Mass-copying to different filenames
On Mon, 30 Jul 2001 01:37, Randy Kramer wrote:
> Sridhar Dhanapalan wrote:
> > Have you tried looking at "man mv", or even "
On Mon, 30 Jul 2001 01:37, Randy Kramer wrote:
> Sridhar Dhanapalan wrote:
> > Have you tried looking at "man mv", or even "man bash"?
>
> Yup, more than once. 4405 lines in man bash. Read it while trying to
> deal with other problems.
>
> Is there something I've missed?
>
> Randy Kramer
I don'
e into the /Documents directory,
do this ad-nauseum.
-JMS
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Randy Kramer
Sent: Sunday, July 29, 2001 11:37 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [newbie] Mass-copying to
Sridhar Dhanapalan wrote:
> Have you tried looking at "man mv", or even "man bash"?
Yup, more than once. 4405 lines in man bash. Read it while trying to
deal with other problems.
Is there something I've missed?
Randy Kramer
Have you tried looking at "man mv", or even "man bash"?
On Sun, 29 Jul 2001 02:46, Randy Kramer wrote:
> Excuse me, but I want to jump in here with a third request -- how about
> a simple way to do:
>
> copy secret.* lies.*
>
> In other words, I have files like secret.txt, secret.txt,v, and
> sec
Excuse me, but I want to jump in here with a third request -- how about
a simple way to do:
copy secret.* lies.*
In other words, I have files like secret.txt, secret.txt,v, and
secret.lock, and I want to rename them to lies.txt, lies.txt,v, and
lies.lock. I made a short script file to do this,
Hi!
In, DOS, everyone knows that typing:
copy *.txt *.doc
Will make a copy of all .txt files but with a new extension, .doc
Typing:
copy secret*.txt lies*.txt
Will make a copy of all .txt files starting with "secret" but with the name
"lies" instead of "secret".
etc, etc, etc.
The question