Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 13:31:31 GMT
From:      "Dimitrios T." <midios3@hotmail.com>
To:        freebsd-newbies@FreeBSD.org
Subject:   batch; the other way around
Message-ID:  <20000522133131.95845.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
hi,

I like to follow the posts of this mailing-list, I think it's yet another 
way of learning FreeBSD. I liked the following solution of adding a 'txt' 
"extension" (pardon my DOS :-)  after a listing of files:

   for f in *
   do
     mv $f $f.txt
   done

Usefull, indeed. But how can one remove the 'txt' from those files (renaming 
them back to the original filename).

Is this possible?

Greetings,
Dimitri
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000522133131.95845.qmail>