Skip to content

Commit

Permalink
add mktorrent.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Nov 24, 2023
1 parent f33d9ef commit ca6351a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mktorrent.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

FILE=$1
DATE=${FILE##*-}
DATE=${DATE%.iso}

mktorrent -l 19 \
-a "udp://tracker.openbittorrent.com:6969" \
-c "hrmpf v$DATE - https://github.com/leahneukirchen/hrmpf" \
-w "https://github.com/leahneukirchen/hrmpf/releases/download/v$DATE/$FILE" \
$FILE

0 comments on commit ca6351a

Please sign in to comment.