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:

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 hundreds of files within a directory at one blow, that is, so as to 
create the series of backups above:

File1 File1.bk
File2 File2.bk
File3 file3.bk
etc.

In other words, is there a command that would allow me to do this all at
once 
from within a directory rather than manually copy each file one at a time?

Thanks so very much.

Benjamin

-- 
Sher's Russian Web
http://www.websher.net
Benjamin and Anna Sher
[EMAIL PROTECTED]

Reply via email to