[ale] Mass changing of file extension

Jay Lozier jslozier at gmail.com
Fri Sep 14 11:04:54 EDT 2012


On 09/14/2012 10:30 AM, Pete Hardie wrote:
> 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
Thanks
>
>
> 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
> _______________________________________________
> 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
>


-- 
Jay Lozier
jslozier at gmail.com



More information about the Ale mailing list