Re: [newbie] File operations and Zip archives

1999-08-12 Thread Ty Mixon



 Original Message 

On 8/12/99, 3:42:09 AM, James Stewart [EMAIL PROTECTED] wrote 
regarding [newbie] File operations and Zip archives:


 A colleague using a windows machine has e-mailed me some graphics in a 
zip
 file. Is there a good linux unzipper?

gzip (man gzip for the info)

 Also, what are the commands to rename, copy and move files? I've tried
 saying ln and then removing the previous file, but this hasn't worked.

Copy = cp 
Move = mv

And I think cp and mv can be used to rename.  Such as cp file1 file2 
will create a new copy of file1, but named file2.  I think mv will do 
the same, but move it (read the man page to be sure, I'm a newbie myself).

-- 
Ty Mixon
e-mail: [EMAIL PROTECTED]
ICQ:26147713  
 James.

 --
 James Stewart ... [EMAIL PROTECTED]
 Britlinks ... http://www.britlinks.co.uk - web site, web design and 
more
 The Phantom Tollbooth ... http://www.tollbooth.org





RE: [newbie] File operations and Zip archives

1999-08-12 Thread Bill Moshier

Hi James
zip, and unzip work for zip files.  also gzip, gunzip for .gz files
see: man zip or man gzip

as far as copy/and move files, use
cp
mv
(of course, you can us the 'man cp' to get info)

Bill

-Original Message-
From: James Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 12, 1999 3:42 AM
To: [EMAIL PROTECTED]
Subject: [newbie] File operations and Zip archives


A colleague using a windows machine has e-mailed me some graphics in a zip
file. Is there a good linux unzipper?

Also, what are the commands to rename, copy and move files? I've tried
saying ln and then removing the previous file, but this hasn't worked.

James.

-- 
James Stewart ... [EMAIL PROTECTED]
Britlinks ... http://www.britlinks.co.uk - web site, web design and more
The Phantom Tollbooth ... http://www.tollbooth.org



Re: [newbie] File operations and Zip archives

1999-08-12 Thread Dan Brown

James Stewart wrote:

 Also, what are the commands to rename, copy and move files? I've tried
 saying ln and then removing the previous file, but this hasn't worked.

To rename and to move, use mv old file new file.  To copy, use cp
file[s] new location.

--
Dan Brown, KE6MKS, [EMAIL PROTECTED]
Meddle not in the affairs of dragons, for you are crunchy and taste good
with ketchup.



Re: [newbie] File operations and Zip archives

1999-08-12 Thread BryanMoorehead



Let me take a stab at this...

I used to be able to use unzip
Try this
 unzip  your zip file.zip

For Rename(Move), use mv source destination, but BE CAREFUL!!!  Read the man
page or you could wipe out a file.
For Copy, use cp source destination  Again, Read the man page if you are
unsure




James Stewart [EMAIL PROTECTED] on 08/12/99 06:42:09 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Bryan Moorehead/Link/Allied Holdings)
Subject:  [newbie] File operations and Zip archives




A colleague using a windows machine has e-mailed me some graphics in a zip
file. Is there a good linux unzipper?

Also, what are the commands to rename, copy and move files? I've tried
saying ln and then removing the previous file, but this hasn't worked.

James.

--
James Stewart ... [EMAIL PROTECTED]
Britlinks ... http://www.britlinks.co.uk - web site, web design and more
The Phantom Tollbooth ... http://www.tollbooth.org









Re: [newbie] File operations and Zip archives

1999-08-12 Thread John Aldrich

On Thu, 12 Aug 1999, you wrote:
 A colleague using a windows machine has e-mailed me some graphics in a zip
 file. Is there a good linux unzipper?

unzip filename
 
 Also, what are the commands to rename, 
mv filename1 filename2
copy 
cp filename1 path/to/filename2
(ie cp root/filename1 /home/james/filename2)
and move files? I've tried
see rename and combine with cp. Basically, if you want to
move to a different directory, type "mv filename
path/to/filename" This should work just fine.

 saying ln and then removing he previous file, but this
hasn't worked. 

And it won't. :-) mv works for BOTH "rename" and "move" (if
you want, you can put in an alias in your .bashrc for "ren"
to "mv" and that would allow you to use the old "dos"
command "ren" G)
John



Re: [newbie] File operations and Zip archives

1999-08-12 Thread Andy Goth

 And it won't. :-) mv works for BOTH "rename" and "move" (if
 you want, you can put in an alias in your .bashrc for "ren"
 to "mv" and that would allow you to use the old "dos"
 command "ren" G)

Watch it.  While in DOS you can rename all .txt files to .doc with REN
*.TXT *.DOC, Linux won't handle mv *.txt *.doc the same way.  I haven't
tried it yet, but I imagine it will simply not work.  If you want to do
things like that, you can make a tricky shell script called ren or
rename.

Andy Goth   mailto:[EMAIL PROTECTED]   http://zap.to/andygoth/
,.-"``"-.,__,.-"``"-.,__,.-"``"-.,__,.-"``"-.,__,.-"``"-.,__,.-"``"-.,_
"Success is a disease; it can make smart people think they can't lose."
-- Bill Gates, on why IBM is going down
 (as seen in Pirates of Silicon Valley)
,.-"``"-.,__,.-"``"-.,__,.-"``"-.,__,.-"``"-.,__,.-"``"-.,__,.-"``"-.,_
"Down with big brother!"   -- George Orwell