Open files from the command line (bash/linux)

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules
Always indicate Operating system, QCAD version
Attach Drawing files, Screenshots
Active Member
Posts: 47
Joined: Mon Jun 29, 2015 8:26 pm

Open files from the command line (bash/linux)

Postby jvalencia » Sat Dec 16, 2017 8:21 pm

I try with "qcad file.dxf" but nothing works.

Also, "qcad --help" don't show anything.

How can I do it?

QCad Pro 3.18


User avatar
Full Member
Posts: 69
Joined: Mon Oct 30, 2017 4:03 am
Location: Deep South USA

Re: Open files from the command line (bash/linux)

Postby lphilpot » Sat Dec 16, 2017 8:42 pm

That should work. My (Linux) desktop file does this:

Code: Select all

/opt/qcad/qcad /home/len/Documents/QCAD-default.dxf

...which is essentially the same thing you indicated.

Does QCAD not launch at all, or does it launch but without loading your file?

What OS are you on?
QCAD Pro on Xubuntu Linux (usually)

User avatar
Site Admin
Posts: 5234
Joined: Fri Mar 30, 2007 6:07 am

Re: Open files from the command line (bash/linux)

Postby andrew » Mon Dec 18, 2017 10:03 am

To show usage info:

./qcad -h

If it does not work, you might not be in the right directory.

Return to “QCAD 'How Do I' Questions”

Who is online

Users browsing this forum: No registered users and 2 guests