LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2020, 10:45 PM   #16
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217

Quicken permits the user to download data to "Excel" as a file. Of course excel files can be opened with star, open, libre, GNumeric and many other linux compatible "office" packages.

So - particularly if it is a one off task,
1. Upload the qif data to quicken,
2. download it in "excel"
3. Upload to an office package and
4. Download to csv format.

You might also find that the download excel format is really just a csv file.

AP

Last edited by AnanthaP; 08-12-2020 at 10:50 PM.
 
2 members found this post helpful.
Old 08-13-2020, 02:27 AM   #17
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,686

Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
You may have to work through installing perl libraries, as noted, and then do the additional follow-on work to shape the output into the format you wish.
Actually, in the third link offered by TB0ne there's a ready-made Perl script using the library I suggested.

And a quick search shows that besides GnuCash, Grisbi, KMyMoney and Skrooge all can import QIF, and at least Skrooge, but I guess others as well, can export to CSV.

Last edited by shruggy; 08-13-2020 at 02:43 AM.
 
2 members found this post helpful.
Old 08-13-2020, 08:18 AM   #18
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,885
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
Originally Posted by shruggy View Post
Actually, in the third link offered by TB0ne there's a ready-made Perl script using the library I suggested.

And a quick search shows that besides GnuCash, Grisbi, KMyMoney and Skrooge all can import QIF, and at least Skrooge, but I guess others as well, can export to CSV.
Great!

And I should have noted that TB0ne also identified the GNUCash option, where that one should be "right there" in most distributions' repos and software managers.

So, at this point, not that I had much true suggestions, I guess it's up to the OP.
 
Old 08-13-2020, 08:38 AM   #19
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 474

Original Poster
Rep: Reputation: Disabled
I tried Gnucash. It did a good job at importing the qif file, but a very bad job when trying to export it as a csv file. The csv file was about six times bigger than the qif file, and most of the characters in it were " for some reason. So while nominally it was a csv file, in actuality it was useless.

Perl, awk etc. I think it is unreasonable to expect non-programmers to spend weeks or months leaning a new language. It would be quicker to replace the characters by hand in a text file.

Please do not be so unfriendly and critical of people who ask for help here.

But great thanks to people who did try to help, much appreciated.

Solution not found, but I want to close this thread and try another approach.
 
Old 08-13-2020, 08:46 AM   #20
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,369
Blog Entries: 3

Rep: Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771
The manual page for Finance::QIF has a simple example program which will be easy to modify, even without much perl scripting experience.
 
2 members found this post helpful.
Old 08-13-2020, 08:52 AM   #21
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,885
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
Originally Posted by grumpyskeptic View Post
I tried Gnucash. It did a good job at importing the qif file, but a very bad job when trying to export it as a csv file. The csv file was about six times bigger than the qif file, and most of the characters in it were " for some reason. So while nominally it was a csv file, in actuality it was useless.

Perl, awk etc. I think it is unreasonable to expect non-programmers to spend weeks or months leaning a new language. It would be quicker to replace the characters by hand in a text file.

Please do not be so unfriendly and critical of people who ask for help here.

But great thanks to people who did try to help, much appreciated.

Solution not found, but I want to close this thread and try another approach.
I think you ought to consider that CSV is not a format you should use then, or perhaps you decided you wanted that, but didn't evaluate the need fairly.

For most people, the selection of CSV is so that it can be more universal, versus proprietary or rare of a file form.

It was already noted that the QIF file format is ASCII, and thus read-able, given the caveat that one needs to understand how Quicken represents data.

I also submit that a lot of data in a QIF file, is going to result in a lot of data in a CSV. So the complaint seems rather, "summary dismissive" about a tool that did what you originally asked.

I feel these types of things are what members like Ondoho and TB0ne are citing. And now include myself. Please realize I'm answering here as a fellow LQ member, I'm not in charge of the Software forum, and even if I were, my intentions here were to answer your question as best as I could.

What I'm thinking now is that you really need to describe better what you wished to result from all this.

To be clear, you've found something to convert QIF to CSV, and now you've made an unclear statement that it's not what you wanted.
 
Old 08-13-2020, 08:53 AM   #22
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,686

Rep: Reputation: Disabled
Have you explored other options? skrooge, grisbi, kmymoney should be available in Linux Mint repos.
 
2 members found this post helpful.
Old 08-13-2020, 10:49 AM   #23
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,634

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by grumpyskeptic View Post
and most of the characters in it were " for some reason. So while nominally it was a csv file, in actuality it was useless.
Probably because it's easier to write something that always adds quotes than it is to conditionally add them only when strictly needed.

Such output is only useless if your CSV parser is not actually a CSV parser, but you can still easily remove the unnecessary quotes using any of several tools, e.g. XSV or Miller:

Code:
# using existing file
xsv fmt "$csvfilename"
mlr --csv cat "$csvfilename"

# piping output from another command
echo "$csvdata" | xsv fmt
echo "$csvdata" | mlr --csv cat
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print lines in csv file if 1 csv column field = "text". There are 10 column (;) in csv file nexuslinux Linux - Newbie 9 04-22-2016 11:35 PM
Trouble importing QIF Files from Money to Gnucash velibos Linux - Software 3 11-07-2015 02:39 AM
Exporting GNUCASH to OFX or QIF files cyborgoat Linux - Software 1 01-25-2010 07:55 AM
GnuCash QIF import: Can't see hidden folders in chooser hominy Linux - Software 0 05-03-2007 11:54 AM
Export to .qif from GnuCash paul.nel Linux - Software 0 03-11-2005 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration