*BSD News Article 42991


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.hawaii.edu!ames!pacbell.com!att-out!undergrad.math.uwaterloo.ca!alf.uwaterloo.ca!torn!howland.reston.ans.net!cs.utexas.edu!uwm.edu!news.alpha.net!news.mathworks.com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!uunet!in1.uu.net!spcuna!ritz!hany
From: hany@ritz.mordor.com (Hany Nagib)
Subject: Newbie Question: mv *.t *.txt ????
Organization: Mordor International BBS
Date: Wed, 15 Feb 1995 13:54:24 GMT
Message-ID: <D41nyo.Mon@ritz.mordor.com>
Lines: 19

Hi ..
I know this must be a very simple question, but it's not in the FAQ.
"mv" looks like it works exactly like "rename" in DOS, except when using 
wild card. For example if I wanted to rename all my .t files to .txt, I 
expect "mv *.t *.txt" to work .. but it doesn't. Why ? And how do I 
accomplish this in BSD unix ?

Thanks in advance
Hany


-- 
$3,000,000

Hany Nagib     Support Tech Intern at IDT Internet Online Services
                      Looking for a permanent position. Offers Welcome!
hany@ritz.mordor.com      <-- Preferred address. Finger to look at my resume.
hany@ios.com                  <-- You'll find me here weekdays mornings.
http://www.mordor.com/hany/       <-- Under Construction! Due 2/20/95