[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: batch renaming
and yet another way of doing the equvalent of dos's "move *.for *.f",
using basename:
for file in *.for; do mv $file `basename $file .for`.f; done
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il