Opened 11 years ago

Last modified 11 years ago

#4059 new Enhancement

Change "Move Torrent" to move directory location if it's a directory

Reported by: oh_noes Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.20
Severity: Normal Keywords:
Cc:

Description

At the moment when you move a single, standard file it does a standard copy-delete. This is acceptable.

However, when you move a directory; it makes the new directory name, then loops through all files inside the torrent and copies them finishing with a delete.

I think it may be beneficial to just move the entire directory, then force a recheck. This will allow users to have an 'script-torrent-done-filename' script that can 'do something'. Most of the time that 'do something' is to unrar or unzip the contents which adds additional files to the torrent dir.

These additional files do not corrupt or modify the original torrent. However, with the current behavior you are left with 2 directories of the same name (one with extracted file(s) and one with original rars)

Therefore, at the moment, the following behavior occurs:

  • my_torrent finishes, moved into /downloaded/my_torrent
  • script-torrent-done-filename run and extracts and creates /downloaded/my_torrent/myfile.avi
  • When I "Move Directory" to /something -- I am left with the following:
  1. The original dir, with original rar files moved to /something as expected
  2. /downloaded/my_torrent/myfile.avi still existing

Change History (1)

comment:1 Changed 11 years ago by x190

Amazing! Time travel with Transmission. \_/ Okay, I see. Warped spacetime...

Opened 5 days ago

Last modified 41 years ago

Oops! I just reset the warp drive and now we're back in the present. Oh well, it was fun while it lasted.

Version 1, edited 11 years ago by x190 (previous) (next) (diff)
Note: See TracTickets for help on using tickets.