Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set location to individual files #4071

Open
alinq opened this issue Nov 7, 2015 · 19 comments
Open

Set location to individual files #4071

alinq opened this issue Nov 7, 2015 · 19 comments

Comments

@alinq
Copy link

alinq commented Nov 7, 2015

I often need only some files from a directory. I have to move the files to the desired location, and of course then I delete the torrent. To keep the sharing going this problem will be solved if "Set location" is on the individual files.

@alinq alinq changed the title Set location to individual files. Set location to individual files [Wishlist] Nov 7, 2015
@ngosang
Copy link
Member

ngosang commented Nov 7, 2015

Put [Wishlist] at the start of the title.

@alinq alinq changed the title Set location to individual files [Wishlist] [Wishlist]Set location to individual files Nov 7, 2015
@alinq
Copy link
Author

alinq commented Dec 14, 2015

If this ever gets into the final product, also as important will be to be able to rename the file whatever you want, of course within qBittorrent so it knows what the file to keep sharing.

@chrishirst
Copy link
Contributor

While, on the face of it this may seem like a useful function, it does have a major flaw, as it precludes the altered payload from ever being **re-**loaded into any bittorrent client in the future using the original metadata.

@MasterHoover
Copy link

MasterHoover commented May 27, 2016

While, on the face of it this may seem like a useful function, it does have a major flaw, as it precludes the altered payload from ever being re-loaded into any bittorrent client in the future using the original metadata.

I'm no tech guy , but this feature works flawlessly in uTorrent/bittorrent. If you worry about the file integrity after relocating a file with a totally random one, force a recheck anytime a file in a torrent has been relocated, overwriting the wrong file to the right one.

@deant
Copy link

deant commented Jun 30, 2016

Lack of this feature is a total deal-breaker for anyone interested in maintaining any reasonably-sized library of seeded files. You NEED to be able to rename and relocate individual files!

I plan to move from uTorrent 2.2.1 to qBittorrent only once this feature is implemented, and I'm sure there are many other people who feel the same.

Please give this feature top priority!!!

@typhoon71
Copy link

I'd like this to be added too.
Right now you cann't relocate part of the content of a torrent, only the whole thing.
I think the ability to relocate even a single file in a torrent, expecially with the possibility of browsing the disc(s) with an explorer like dialog is powerful, and it's the only thing I really miss.
Right now you can reanme the torrent, but it's not that.
Please, add this. Thanks anyway.

@deant
Copy link

deant commented Dec 22, 2017

Sorry slrslr, it isn't similar at all. Read my comment in the other thread.

@deant
Copy link

deant commented Dec 22, 2017

In uTorrent, you can relocate and/or rename any file: Right-click and choose "relocate", and it pops up a standard explorer save-as dialog.

If you select more than one file and choose "relocate", then the filenames are preserved, and the save-as dialog only lets you pick the directory to place them in.

This is at minimum what qBittorrent needs to be able to do, and it's probably the "obvious" way to implement this feature.

However, when relocating lots of files to lots of different folders, opening and closing save-as dialogs can become very time-consuming and tedious. So, in addition to the option of displaying a save-as dialog for the single- and multiple-file cases, I'd like qBittorrent to have the ability to edit filename and path in-place - i.e. A list of path & filenames is displayed, and you can edit it as if it were a text file (with cut/copy/paste, move cursor up/down/left/right etc). Search and replace would be useful there too.

qBitorrent needs to check that any renamed/relocated file does not clash with an existing file. If the new path & name does NOT clash with an existing file, then the file should be moved. (If it's moving to a different volume, the torrent will need to be paused until the move has completed).

However, if there is an already-existing file at the supplied location, then:

(a) qBitorrent needs to check that it's the correct length, and prevent the name change if not (either by blocking it, or by adding " (2)", " (3)", etc to the end of the new filename, to prevent any filename clash. (Possibly have a setting choosing which of these behaviours to use?)

(b) If it's the correct length to be the torrent file, leave the previous file (if any) as-is, and but switch qBittorrent to refer to the new file instead. (Optionally: also run a hashcheck on it, to determine if it matches, and/or how many blocks in the file are complete. Auto-hashcheck should also be a settings option).

Finally, a really useful feature would be if you could highlight some files within a torrent, select a folder, and have qBittorrent scan that folder (and optionally subfolders also), to detect (based on file length and block-by-block hashing, i.e. not by filename) which (if any) of the torrent files already exist in that folder (looking for 100% completely downloaded files); and then set the torrent path & filenames to match for those cases.

@KaXaSA
Copy link

KaXaSA commented Feb 20, 2020

Yes! I was looking for this today, I was about to create a new issue when I found this one :)

I have some torrents that I wanted to keep seeding but I also wanted to organize the folders/subfolders in a better way. Without the 'Set location' I have to keep the seeding torrents files in separated 'seeding folder' and then make a copy of the files to the proper/organized folder. :(

@FranciscoPombal FranciscoPombal changed the title [Wishlist]Set location to individual files Set location to individual files Feb 20, 2020
@HatTrkPatrk

This comment has been minimized.

@Gh3ttoKinG
Copy link

I was about to finally make the move from µTorrent to qBitTorrent but I just realised this feature doesn't exist, so I too would like to have this feature!
I have several torrents that belong together and t he problem is that in those torrents the files are in an unnecessary subfolder.
So I'd like to have those files all in one single folder without those subfolders!

@OldClassicGamer

This comment has been minimized.

@TGeka

This comment has been minimized.

@github-account1111
Copy link

Duplicate of #439?

@deant
Copy link

deant commented Mar 12, 2022

Duplicate of #439?

It is as far as the original posts go, but there is relevant discussion in the comments that isn't duplicated between the two issues - see e.g. my 2nd comment dated 23 December 2017 in this issue.

@github-account1111
Copy link

Duplicate of #439?

It is as far as the original posts go, but there is relevant discussion in the comments that isn't duplicated between the two issues - see e.g. my 2nd comment dated 23 December 2017 in this issue.

Closing an issue doesn't remove anything.
Your comment will still be there.
It's bad to have multiple open issues for the same bug, especially with 2.7k other open issues.

@chelc-fox
Copy link

Just adding my voice to this; this feature is still sorely needed, as a lot of us out there use Plex, which requires very specific folder structures to read certain downloads properly, and while this feature remains unpresent, being a responsible seeder continues to be a headache ^^;

@KaXaSA
Copy link

KaXaSA commented Jun 2, 2022

So I found a temporary solution (Windows), when the download is completed you can create a Hard Link (Symbolic Link) copy.

It's basically a 'copy' of the file that doesn't take disk space, the two files will be 'linked', but you can rename/delete either of them with no issues. So you can, create a hard link copy, move it to some other folder (in the same disk), rename it and if necessary, when you're done seeding, you can delete the original file.

To make it easier to manually create the hard links, you can add some options to context menu (right click):
https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html
(not sure if there is an easier/native way to create hard links)

But I think a better solution would be to run a script, every time a download is finished, to automatically create the hard link, you can create hard links using PowerShell:
New-Item -Path "D:\new\path\copy.mkv" -ItemType HardLink -Value "D:\path\to\original\file.mkv" -Force
So I assume it wouldn't be hard to create a script that use qBittorrent's 'Run external program on torrent completion' parameters (options > downloads) to get the file path and then create the hard link in some other folder.

@hideki2k02
Copy link

hideki2k02 commented Dec 9, 2023

Damn, after all this time it's still open :( wish someone put a bounty on this or something.

Edit: For reference (maybe someone want more examples on how to implement it), these are the only Clients that I know that allow this: uTorrent and Tixati.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.