Is it possible top open multiple audio files from the command line?

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
TEEBQNE
Posts: 4
Joined: Mon Oct 22, 2018 9:12 pm
Operating System: OS X 10.9 Mavericks

Is it possible top open multiple audio files from the command line?

Post by TEEBQNE » Mon Oct 22, 2018 9:20 pm

I'm attempting to create a project from the command line using multiple audio files. As of now, all I can do is open multiple projects each with one audio file. Is this possible? I am running Audacity 2.2.1, installed it using the distribution's release, and my Linux version is Ubuntu 18.04.1. Thanks!

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Is it possible top open multiple audio files from the command line?

Post by steve » Mon Oct 22, 2018 9:34 pm

TEEBQNE wrote:
Mon Oct 22, 2018 9:20 pm
I'm attempting to create a project from the command line using multiple audio files. As of now, all I can do is open multiple projects each with one audio file. Is this possible?
Yes it is.
You need to create a ".lof" file (see https://manual.audacityteam.org/man/lof_files.html)
Then you can launch Audacity with lof file as an argument.

Example. If the .lof file is called "mystuff.lof" and it is on your Desktop, and your log-in name is "teebqne", then the command will be:

Code: Select all

audacity "/home/teebqne/Desktop/mystuff.lof"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

TEEBQNE
Posts: 4
Joined: Mon Oct 22, 2018 9:12 pm
Operating System: OS X 10.9 Mavericks

Re: Is it possible top open multiple audio files from the command line?

Post by TEEBQNE » Mon Oct 22, 2018 9:54 pm

Awesome. Thanks for the help!

Post Reply