First time here? Check out the FAQ!
Hello.
I'm new to using a Mac (no choice). The files are generated from an automated system (several hundred a day and have a .tsv extension (can't change it for every file). The files are UTF-8 encoded text files with TAB separated content.
I need to be able to double click the file and have it open in Libre Office Calc. Even if it has to ask me to choose the delimiter to process it with.
I've no idea if this is possible. On Windows, I'd associate .tsv with Excel and all would be "just done".
I can't even find Calc for LibreOffice, only the LibreOffice.app in my Applications directory - again, this may be me - I'm VERY VERY new to Mac and the differences are sometimes confounding.
If I try to open Libre Office first and then open a Spreadsheet file, the open file dialogue doesn't allow me to pick the .tsv files. They are all greyed out.
Really stuck. Renaming the files first, editing the content as I need, and then reversing the rename takes forever on a mac - OK I know this bit is me, I'm so used to doing everything from the keyboard and having to constantly go to the mouse to do things just beeps me off a bit.
If I get Finder to open .tsv files all the time, they open in the word processor part.
Any useful suggestions would be brilliant!
Thank you.
Richard.
Sorry, didn't read your question thoroughly enough the first time. So, here's my edited and hopefully improved answer. ;-)
The general procedure to associate files and applications is this:
LibreOffice.app is a bundle or an app in Mac OS X terminology. It's basically a directory, and there are ways to look at its contents in Finder or in a terminal. But there's usually no need for that and therefore Finder makes it harder to enter an app directory than other directories.
However, instead of starting Calc via LibreOffice.app you may also start Calc directly. The simplest method is to open a terminal (/Application/Utilities/Terminal.app) and enter
/Applications/LibreOffice.app/Contents/MacOS/scalc File.tsv &
In case you want to automate the processing of those .tsv files, you have many of the usual Unix tools available in Mac OS X out of the box, including Perl, Python and Ruby.
To install additional tools I suggest the Macports (http://www.macports.org) or the Fink (http://www.finkproject.org) installer. They require Xcode (including the "Command Line Tools"), Apple's compiler for C, C++ and Objective C, which you can download from App Store for free.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-09-14 12:19:46 +0200
Seen: 432 times
Last updated: Sep 19 '12
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.