Skip to content

Allow modification of 'incomplete-dir' location#6

Open
klogg wants to merge 1 commit intovlevit:masterfrom
klogg:master
Open

Allow modification of 'incomplete-dir' location#6
klogg wants to merge 1 commit intovlevit:masterfrom
klogg:master

Conversation

@klogg
Copy link

@klogg klogg commented Jun 7, 2019

Sometimes it is necessary to change not only location of 'destination'
but also location of 'incomplete-dir' where temporary downloads are
stored as configured by Transmissions 'resume' files.

Added 2 options:
-d or --destination to change torrent's destination location
-i or --incomplete-dir to change torrents incomplete location
Now it is mandantory to specify one of them when running the script.
The logic was tested and checked with shellcheck.

README and AUTHORS are updated accordingly.

Sometimes it is necessary to change not only location of 'destination'
but also location of 'incomplete-dir' where temporary downloads are
stored as configured by Transmissions 'resume' files.

Added 2 options:
  -d or --destination to change torrent's destination location
  -i or --incomplete-dir to change torrents incomplete location
Now it is mandantory to specify one of them when running the script.
The logic was tested and checked with shellcheck.

README and AUTHORS are updated accordingly.
REPLY=y
shift
;;
-d|--download-dir)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-d|--download-dir)
-d|--destination)

right?

@vlevit
Copy link
Owner

vlevit commented Jun 13, 2019

Thank you Artem! Please fix misspelled parameter and I will merge it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants