This forum has been archived. All content is frozen. Please use KDE Discuss instead.

feature rueqest: don't delete files in different torrent

Tags: None
(comma "," separated)
eric235u
Registered Member
Posts
23
Karma
0
hi.

i've downloaded set A. i've downloaded set B. A and B have no files in common. set C contains all of A and B and has some extra files. when i start torrent C i uncheck all the files except the ones not contained in A and B. all three torrents store the files in a directory with the same name. ktorrent deletes A and B. i just lost ~80gb of data. :(

isn't there a way in ktorrent's data files to realize these are separate torrents and not delete the data?

thanks.


Tanktalus
Registered Member
Posts
67
Karma
0
OS

Wed Feb 13, 2008 11:56 pm
This is actually why I download everything to its own directory as ktorrent expects, and then go to a new directory (on the same partition - this is important) and "copy" everything there. Except I don't copy - I use hard links (see the "ln" command). For example:

Code: Select all
cd ~/music
mkdir some_artist
cd some_artist
ln ~/ktorrent_downloads/album1/*mp3 .
ln ~/ktorrent_downloads/album2/*.mp3 .


What this will do is create a directory that has all the mp3s, and, as long as ktorrent still has its torrent going, this doesn't take up extra room. (You can't go and change mp3 tags when doing this, as that'll screw up the original torrent.) And then, when you tell ktorrent to remove album1, that merely removes one link from each of those files, but leaves the link in ~/music/some_artist alone, so you don't lose the files.

As I said above, it's important that everything is in the same partition - if they're different partitions, you can't use hardlinks, and that makes this waaaay harder to pull off. (Symlinks don't quite cut it.)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]