[ale] Mass changing of file extension
Pete Hardie
pete.hardie at gmail.com
Fri Sep 14 10:30:56 EDT 2012
this shell script should do it - note that I use copy instead of move,
for test purposes
for i in *,tsv
do
b=basename $i .tsv
cp $i ${b}.csv
done
Pete Hardie
--------
Better Living Through Bitmaps
On Fri, Sep 14, 2012 at 9:22 AM, Jay Lozier <jslozier at gmail.com> wrote:
> Hi,
>
> I saw a question about importing a *.tsv (tab delimited text files) into
> a spreadsheet. The problem is *.tsv are unusual while *.csv are common.
>
> My question is how does one change the file extension of many *.tsv to
> *.csv files?
>
> --
> Jay Lozier
> jslozier at gmail.com
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
More information about the Ale
mailing list