Re: [newbie] File operations and Zip archives
> 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" ) 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
Re: [newbie] File operations and Zip archives
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 > > Also, what are the commands to rename, mv >copy cp (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 " 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" ) John
Re: [newbie] File operations and Zip archives
Let me take a stab at this... I used to be able to use unzip Try this unzip For Rename(Move), use mv , but BE CAREFUL!!! Read the man page or you could wipe out a file. For Copy, use cpAgain, 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
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 . To copy, use cp . -- 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
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
>> 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