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 your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
jvalencia
Full Member
Posts: 51
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

Thanks.

User avatar
lphilpot
Senior Member
Posts: 119
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?
Len
QCAD Pro

User avatar
andrew
Site Admin
Posts: 9037
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”