You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loving this tool and am wanting to incorporate it more in my automation scripts.
I'm having an issue when passing a hash through in subshell mode.
When running the below command in interactive mode (no -c) it works qblist -r --jqselect '(.hash=="EXAMPLE_HASH")'
The output is as expected.
When running in subshell mode, it works without --jqselect (Note I have removed login info which includes the URL.) qbc .... -c "qblist -r --jqselect '(.hash=="EXAMPLE_HASH")'"
It prints nothing.
When running without the --jqselect qbc .... -c "qblist -r"
It prints all torrents in order.
Is there a way to --jqselect by hash in subshell mode?
The text was updated successfully, but these errors were encountered:
Usually such kind of problems can be easily solved by symbol screening: qbc .... -c "qblist -r --jqselect '(.hash==\"EXAMPLE_HASH\")'"
Alternatively (since qbc is an extended bash interpreter), for scripting you can put qblist -r --jqselect '(.hash=="EXAMPLE_HASH")'
into script.txt and run qbc .... script.txt
Hi!
Loving this tool and am wanting to incorporate it more in my automation scripts.
I'm having an issue when passing a hash through in subshell mode.
When running the below command in interactive mode (no -c) it works
qblist -r --jqselect '(.hash=="EXAMPLE_HASH")'
The output is as expected.
When running in subshell mode, it works without --jqselect (Note I have removed login info which includes the URL.)
qbc .... -c "qblist -r --jqselect '(.hash=="EXAMPLE_HASH")'"
It prints nothing.
When running without the --jqselect
qbc .... -c "qblist -r"
It prints all torrents in order.
Is there a way to --jqselect by hash in subshell mode?
The text was updated successfully, but these errors were encountered: