Chuck
🤴 Super Admin
- Downloaded
- 300.6 GB
- Uploaded
- 2.9 TB
- Ratio
- 9.93
- Seedbonus
- 593,150
- Upload Count
- 24 (26)
Member for 5 years
Sometimes you may want to save your TeamOS .torrent files. You might want to do this before installing a new OS or to seed from another machine.
This script will copy .torrent files that use the TeamOS tracker to a new folder. It is useful if you only want TeamOS files and not files for other trackers. I have tested it with uTorrent and qbittorrent.
Copy the code below into a plain text file and save it with a .bat extension. Any file name will do.
Change the "set UserName=Charlie" line. Replace "Charlie" with your own Windows user name.
Run the batch file. "Open" it or double click it.
You will find the copies of your .torrent files in a new folder here C:\Users\YourUserName\TeamOsTorrents
You will also find a list of the copied files in TeamOsTorrents.txt.
To update the copy folder just run the batch file again. New files will be added and redundant copies will be removed.
This script will copy .torrent files that use the TeamOS tracker to a new folder. It is useful if you only want TeamOS files and not files for other trackers. I have tested it with uTorrent and qbittorrent.
Copy the code below into a plain text file and save it with a .bat extension. Any file name will do.
Code:
@echo off
set UserName=Charlie
set destination= c:\Users\%UserName%\TeamOsTorrents
set list=%destination%\TeamOsTorrents.txt
echo Save TeamOS torrents for user %UserName% to %destination%
pause
rem if not exist %destination%\ (md %destination%) else (del %list% )
if not exist %destination%\ (md %destination%) else (del %destination% /q )
if ERRORLEVEL 1 (
echo. Did you put the correct Windows user name in the script?
pause
exit /b 1
)
findstr /S /I /M "teamos" c:\Users\%UserName%\AppData\Local\*.torrent > %list%
findstr /S /I /M "teamos" c:\Users\%UserName%\AppData\Roaming\uTorrent\*.torrent >> %list%
FOR /f %%f IN (%destination%\TeamOsTorrents.txt) DO (copy %%f %destination% /y /v > nul)
echo All TeamOS torrents found for %UserName% have been copied to %destination% .
echo A list of the copied torrents can be found in TeamOsTorrents.txt.
pause
Change the "set UserName=Charlie" line. Replace "Charlie" with your own Windows user name.
Run the batch file. "Open" it or double click it.
You will find the copies of your .torrent files in a new folder here C:\Users\YourUserName\TeamOsTorrents
You will also find a list of the copied files in TeamOsTorrents.txt.
To update the copy folder just run the batch file again. New files will be added and redundant copies will be removed.
Last edited: