Changes between Initial Version and Version 1 of Ticket #3549, comment 2
- Timestamp:
- 09/07/2022 04:33:43 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3549, comment 2
initial v1 41 41 deluge-console add "magnet-link" 42 42 }}} 43 44 bash-scripting it: 45 46 {{{ 47 if [[ $resource =~ ^magnet: ]]; then 48 deluge-console add "$resource" 49 elif [[ $(file --brief "$resource") == 'BitTorrent file' ]]; then 50 deluge-console "add '$resource'" 51 else 52 die "Can't add $resource" 53 fi 54 }}}