I have been working on some automation for my torrents, and one of the things that would be handy id being able to set the location of a torrent, just like I do from the Qt GUI. I see that Set-TransmissionTorrents has a -Location parameter, but I have been unable to make it do anything. I also will note that in the GUI there is the option to move the data, or simply 'tell' Transmission that it has already been moved. I don't see how to specify what to do with the Commandlet, though when I looked up the RPC docs for transmission there is a 'move' parameter there which seems to be how you would indicate which option you want.
Here is an example of the failure:
PS E:\BigOne\FileBot> Get-TransmissionTorrents -torrentids 484 | ft name,id,DownloadDir
Name Id DownloadDir
---- -- -----------
Jack Campbell - The Lost Stars (M4B) 484 E:\BigOne\BitTorrent\AB
PS E:\BigOne\FileBot> Set-TransmissionTorrents -TorrentIds 484 -Location "E:\BigOne\BitTorrent\Completed"
Set torrent(s) successful
PS E:\BigOne\FileBot> Get-TransmissionTorrents -torrentids 484 | ft name,id,DownloadDir
Name Id DownloadDir
---- -- -----------
Jack Campbell - The Lost Stars (M4B) 484 E:\BigOne\BitTorrent\AB
I also confirmed that the GUI shows no change of location.
I am running Transmission 3.0 Qt on windows. These commands are being run on the same system that runs Transmission. I am using Powershell 7.2.4 on Windows Server 2019.
I have been working on some automation for my torrents, and one of the things that would be handy id being able to set the location of a torrent, just like I do from the Qt GUI. I see that Set-TransmissionTorrents has a -Location parameter, but I have been unable to make it do anything. I also will note that in the GUI there is the option to move the data, or simply 'tell' Transmission that it has already been moved. I don't see how to specify what to do with the Commandlet, though when I looked up the RPC docs for transmission there is a 'move' parameter there which seems to be how you would indicate which option you want.
Here is an example of the failure:
I also confirmed that the GUI shows no change of location.
I am running Transmission 3.0 Qt on windows. These commands are being run on the same system that runs Transmission. I am using Powershell 7.2.4 on Windows Server 2019.