Update 2025-01-08 08:15 OpenBSD/amd64-t14
This commit is contained in:
12
.bin/create-torrent
Executable file
12
.bin/create-torrent
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# source https://github.com/aria2/aria2/issues/663
|
||||
|
||||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
[ ! -f $HOME/.cargo/bin/imdl ] \
|
||||
&& cargo install -f imdl
|
||||
set -x
|
||||
imdl torrent create --input "$1"
|
||||
imdl torrent show --input "$1.torrent"
|
||||
imdl torrent verify --input "$1.torrent" --content "$1"
|
||||
imdl torrent link --input "$1.torrent"
|
||||
Reference in New Issue
Block a user