Update 2025-01-08 08:15 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id
2025-01-08 08:15:25 +01:00
parent 685a3b4c8d
commit cc3afde694
16 changed files with 556 additions and 0 deletions

12
.bin/create-torrent Executable file
View 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"