Code: Select all
@echo off
SET OPT= -a "http://www.mvgroup.org:2710/announce" -l22
if exist %%1.torrent (
rem file exists
) else (
FOR /D %%I IN (*.*) DO mktorrent.exe %opt% "%%I"
)
So what I wanted to ask help on is being able to scan the size of the folder first to be able to set the needed size to get the idea piece size.
l15 Files up to 50MiB
l16 Files 50MiB to 150MiB
l17 Files 150MiB to 350MiB
l18 Files 350MiB to 512MiB
l19 Files 512MiB to 1.0GiB
l20 Files 1.0GiB to 2.0GiB
l21 Files 2.0GiB to 4.0GiB
l22 Files 4.0GiB to 8.0GiB
l23 Files 8.0GiB to 16.0GiB
l24 Files 16.0GiB to 512GiB
If I am not clear please ask.