Probably the best way to create a temporary file in Shell is to use mktemp(1). Alas, mktorrent(1) doesn't allow for the --output= file to be overwritten, thus making it “incompatible” with mktemp(1). Consider, e.g.:
AIUI, the conventional wisdom is to support some kind of a --force option to disable the checks such as the one performed by mktorrent(1) in open_file().
Forwarded from: https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=mktorrent
Probably the best way to create a temporary file in Shell is to use mktemp(1). Alas, mktorrent(1) doesn't allow for the
--output=
file to be overwritten, thus making it “incompatible” with mktemp(1). Consider, e.g.:AIUI, the conventional wisdom is to support some kind of a
--force
option to disable the checks such as the one performed by mktorrent(1) inopen_file()
.