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
Post one question per topic.
Post Reply
Active Member
Posts: 48
Joined: Mon Jun 29, 2015 8:26 pm

Open files from the command line (bash/linux)

Post by 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: 85
Joined: Mon Oct 30, 2017 4:03 am
Location: Deep South USA

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

Post by 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: 6283
Joined: Fri Mar 30, 2007 6:07 am

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

Post by 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.

Post Reply

Return to “QCAD 'How Do I' Questions”