Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Specifying output directory #1140
Comments
|
Try something like:
or
It's a matter of understanding shell quotation marks. |
|
Doesn't work when used in OS X 10.8.4 |
Is it possible to specify an output directory?
I tried the
-ooption, but it specifies the whole output file template, whereas I only want to specify the output directory but otherwise leaving everything to default.My usecase is that I want every video to be put into
~/Downloadsregardless of my working directory. I tried specifying a template~/Downloads/%(title)s-%(id)s.%(ext)sand$HOME/Downloads/%(title)s-%(id)s.%(ext)sbut bash and environment variables don't get expanded.