Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how to change .dat extension to .csv with automator in Lion

I get datalogger files every night that come in the .dat format. I need to process them in OpenOffice.calc to show the results. OO.calc will not read a .dat file, but if I manually change the .dat to .csv it works fine.


I don't know enough about Automator to write the script. Doing it by record doesn't work.


Can anyone point me in the right direction?


Thanks 😐

MacBook Pro, Mac OS X (10.7.3), I7, 8GB, 750GB, Lion

Posted on May 28, 2012 7:00 PM

Reply
Question marked as Best reply

Posted on May 28, 2012 10:18 PM

You can use the Rename Finder Items action to rename the input items, using either Name Single Item or Replace Text for the extension (note that the extenson does not include the period) - for example:


  1. Ask for Finder Items { Type: files } Allow Multiple Selection
  2. Rename Finder Items - Replace Text { Find: dat in extension only Replace: csv }
2 replies
Question marked as Best reply

May 28, 2012 10:18 PM in response to Cosman

You can use the Rename Finder Items action to rename the input items, using either Name Single Item or Replace Text for the extension (note that the extenson does not include the period) - for example:


  1. Ask for Finder Items { Type: files } Allow Multiple Selection
  2. Rename Finder Items - Replace Text { Find: dat in extension only Replace: csv }

how to change .dat extension to .csv with automator in Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.