Wow that was quick, thanks for all the replys Henrik had the first one that worked and I am still going through the rest He used=20 for f in *.blah; do mv $f `basename $f .blah`.txt; done Thanks again Dave > -----Original Message----- > From: Mortensen, Henrik [mailto:henrik.mortensen@csfb.com] > Sent: Tuesday, October 16, 2001 12:48 PM > To: David Baldwin > Subject: RE: Script for changing file names >=20 > for f in *.blah; do mv $f `basename $f .blah`.txt; done >=20 > -----Original Message----- > From: David Baldwin [mailto:dbaldwin@networkinsight.com] > Sent: Tuesday, October 16, 2001 3:40 PM > To: sunmanagers@sunmanagers.org > Subject: Script for changing file names >=20 >=20 > Hi, > Does anyone have a script that can change file names in a directory from > *.blah to *.txt? > Thanks in advance, >=20 > Dave Baldwin > RHCE, NOC System Engineer > Network Insight, LLC > www.networkinsight.com > Main: 858-450-1180 Ext. 8294 > Direct: 858-362-8294 > Mobile: 619-726-5485 > Fax: 858-450-1141 >=20 > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers >=20 > This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. > If you receive this message in error, please immediately delete it and all > copies of it from your system, destroy any hard copies of it and notify > the > sender. You must not, directly or indirectly, use, disclose, distribute, > print, or copy any part of this message if you are not the intended > recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve > the right to monitor all e-mail communications through its networks. Any > views expressed in this message are those of the individual sender, except > where the message states otherwise and the sender is authorised to state > them to be the views of any such entity. > Unless otherwise stated, any pricing information given in this message is > indicative only, is subject to change and does not constitute an offer to > deal at any price quoted. > Any reference to the terms of executed transactions should be treated as > preliminary only and subject to our formal written confirmation. >=20 >=20 >=20Received on Tue Oct 16 20:56:00 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:33 EDT