qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.3k stars 3.98k forks source link

List path when deleting files #1847

Open Meriipu opened 10 years ago

Meriipu commented 10 years ago

Listing the path(s) to the top directory when deleting files from disk in the case that it has been saved or moved to a non-default location.

So to avoid accidentally deleting a download you did not remember to copy (is making copies from the Downloads folder to say Music/ a normal thing to do?) -- listing the path reminds you

I usually copy, but it caught me once where my Download and Library location was the same

I realize this is obscure

chrishirst commented 10 years ago

BitTorrent clients do NOT use 'files' or 'folders' to identify the payload, so it does not 'know' the 'path'.

Meriipu commented 10 years ago

Does it not even know the location of the payload, disregarding the name of it (since you can select which directory to download to) ?

chrishirst commented 10 years ago

Folders do not actually exist on the disc, they are just 'pointers' in a database for us stupid humans to look at. So when you "move" a file between folders, or rename a folder, or "move" a folder to be a subfolder, on the same drive (or filing system for Linux/Mac) you are NOT physically 'moving' anything, the DFS (disc filing system) is merely updating the human readable name that is associated with the physical clusters (a collection of magnetic domains) on the disc platter(s)

The pointer name is basically only used for "display purposes"

Meriipu commented 10 years ago

hey now, I feel we are being unnecessarily pedantic here. Something has to request the operating system to make the directorypointer, is that something libtorrent/qbittorrent?

Could not that something ask the operating system whether that directorypointer already exists, and before requesting it to be made, ask the user whether to go ahead given that it already exists?

if this is a libtorrent thing then I can see why there is little point posting it here, butt if it is a qbittorrent thing then really now