Quote:
Originally Posted by dgoddard
Is that line of code supposed to be complete? I don't understand it. are the dashes supposed to represent something. The file I am trying to convert is designated 050416dg-a.rm and I am trying to create the mp3 version in the same directory.
|
The dashes show that it is an argument or option to a command, like in
ls is a command, -l is an argument or option to that command.
While for a single-character argument one (often) uses one hyphen, for a full word one (often) uses two hyphen.
So, the full command does:
pacpl # is the command called pacpl
--outdir . # --outdir is the argument which tells pacpl where to put the result, the dot . is the current directory
--to mp3 # --to is the argument which tells pacpl to which codec to convert, in this case to mp3
*flac # means to convert all files (*) which end with "flac" in the current directory.
As i said i don't know rm-files. The man page and page of pacpl says it would support rm files, but i can't test it.
A similar command would be
Code:
pacpl --outdir . --to mp3 *rm
which does this:
use the command pacpl to convert all files which end with rm to mp3 and put the resulting files in the current/working directory.
but without being able to test it, it's a shot in the dark.
For a single file you need to replace "*rm" with the exact name of the file.
(i guess that others adviced to use ffmpeg for a reason).