Results 1 to 3 of 3

Thread: Opening a file in Terminal with a specific program

  1. #1
    Join Date
    Apr 2008
    Beans
    13

    Opening a file in Terminal with a specific program

    How does one go about opening a specific document "with" a specific program in terminal?

    I'm trying to create a new launcher for my top panel in GNOME that opens my GNU Cash Finance archive with the GNU cash program. I've read about the "gnome-open" command, but this doesn't quite meet my needs as Ubuntu just views the file as a standard zip archive and tries to gzip it.

    Any ideas?

  2. #2
    Join Date
    Apr 2007
    Beans
    17

    Re: Opening a file in Terminal with a specific program

    Have you tried
    Code:
    gnu-cash-program path_to_cash_finance_archive

  3. #3
    Join Date
    Apr 2008
    Beans
    13

    Re: Opening a file in Terminal with a specific program

    Quote Originally Posted by Rigrig View Post
    Have you tried
    Code:
    gnu-cash-program path_to_cash_finance_archive
    Actually, it was almost easier than that... It turned out to be just:
    Code:
    gnucash "path to finance archive"
    DUH!

    Thanks for the help.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •