I have all my torrents in windows added to deluge, now I just need to change the drive number to my external in linux. (In windows it's F:/Music/*, in linux it's /media/External/Music/*) What's the easiest way to go about this? Or is there a way? I'll cry if i have to add them all again...
I'll try to explain it better if this doesn't make sense.
Easiest way to switch from windows to linux
Re: Easiest way to switch from windows to linux
You can modify the save paths in the torrents.state file. Here is a quick python script you can use to alter the save_path:
Code: Select all
state_file_path = "/home/ubuntu/.config/deluge/state/torrents.state"
state_file = open(state_file_path, "rb")
state = cPickle.load(state_file)
state_file.close()
for torrent in state.torrents:
torrent.save_path = '/home/ubuntu/Downloads/'
state_file = open(state_file_path, "wb")
state = cPickle.dump(state, state_file)
state_file.close()