Skip to content

Can you specify a special directory to lists? #2196

Answered by Hrxn
lamepennies asked this question in Q&A
Discussion options

You must be logged in to vote

You can set options in your input file (i.e. ~/scripts/a.txt), like this:

- base-directory = "/tmp/"
<URL in infile 1>
- key = value
<URL in infile 2>
- key=value
<URL in infile 3>
-G base-directory = "/media/dump/its/huge"
<Valid for this URL>
<And all following URLs>

- sets the option for the next infile entry, -G changes the value for all entries, unless changed by another option, like -G again.

gallery-dl -i ~/scripts/a.txt -o directory= -d ~/dest/a/{user[name]}

Well, this does not work, obviously, because your shell does not know anything about a {user[name]}.
This is only inside gallery-dl

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lamepennies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants