Replies: 2 comments 4 replies
-
I believe you can, yes. aria2p add -o 'on-download-complete=/path/to/your/command' $URL Have you tried? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah I tried this aria2p add -o 'on-download-complete=/home/cabalcrow/.bin/hook' https://0x0.st/Xc3F.md where the content of /home/cabalcrow/.bin/hook is #!/bin/bash
notify-send 'TEST' But this doesn't work. /home/cabalcrow/.bin/hook can be run and it works normally. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can on-download-complete be used as an option for
aria2p add -o
? I know there are event hooks for this, however I want to use a hook for a specific download only (to emulate a download & then open function).Beta Was this translation helpful? Give feedback.
All reactions