I believe in my very limited knowledge that the command is
mv oldfilename newfilename
e.g. mv mydocument mydocument.bak
Nick
-Original Message-
From: Benjamin Sher [mailto:[EMAIL PROTECTED]]
Sent: 31 May 2001 04:37
To: Newbie
Subject: [newbie] Copy *.* to *.bak -- how?
Dear friends
: 31 May 2001 04:37
To: Newbie
Subject: [newbie] Copy *.* to *.bak -- how?
Dear friends:
Let's say I have the following files:
File1
File2
File3
etc.
Now, normally to make a backup copy of each, I would do the following:
cp File1 File1.bk
cp File2 File2.bk
cp File3 file3.bk
etc.
My question
Have a look at the man page of mmv (multiple move).
Nico
On Thursday 31 May 2001 05:36, you wrote:
Dear friends:
Let's say I have the following files:
File1
File2
File3
etc.
Now, normally to make a backup copy of each, I would do the following:
cp File1 File1.bk
cp File2 File2.bk
It was Thu, 31 May 2001 12:23:30 +0800 when newbie-mandrake wrote:
try something like
bash# for i in *; do cp $i $.bak; done
for i in *; do cp $i $i.bak; done
Note the i in front of the second $
Paul
--
Only passions, great passions,
can elevate the soul to great things.
-Denis Diderot
Dear friends:
Let's say I have the following files:
File1
File2
File3
etc.
Now, normally to make a backup copy of each, I would do the following:
cp File1 File1.bk
cp File2 File2.bk
cp File3 file3.bk
etc.
My question: Is there a SINGLE command that would allow me to create backups
for
try something like
bash# for i in *; do cp $i $.bak; done
sherwin
[EMAIL PROTECTED] writes:
Dear friends:
Let's say I have the following files:
File1
File2
File3
etc.
Now, normally to make a backup copy of each, I would do the following:
cp File1 File1.bk
cp File2 File2.bk
cp File3