Open codecircuit opened 4 years ago
Thanks for your input on this!
I agree something needs to be done here. My question is how to do it properly. Let's try to collect some options:
ssget.conf
) in ~/.config/
and/or /etc/default/ssget.conf
, or anything else with custom options stored inside such as ARCHIVE_LOCATION=/custom/path/to/archive
(could also allow extension to other options if needed);As far as I understood it you must first query the matrix IDs like this:
ids=$(ssget -s "[ @name == matrixname ] || [ @name == othermatrixname]")
before you can download them with
for id in $ids; do
ssget -i $id -e
done
It would be cool if you can just add -e
to the first command and all matrices matching the predicate are downloaded. But instead of overloading this issue, maybe we open one issue for each feature?
Indeed as that is another feature I think another issue on the subject would be better.
This would be useful if you do not want to store the matrices in your home directory.