dottorrent-cli icon indicating copy to clipboard operation
dottorrent-cli copied to clipboard

Exclude folders with --exclude option?

Open awsms opened this issue 4 years ago • 3 comments

Hi, I'd like to know how the --exclude function work, and if it's possible to exclude unwanted folders with it

awsms avatar Jul 29 '21 17:07 awsms

You can use file name patterns to exclude files from the torrent. In the pattern you can use Unix shell-style wildcards (*, ? []) More info on the wildcards here: http://www.linfo.org/wildcard.html

The patterns only work on file names, so excluding folders is not possible.

The exclude option is a general dottorrent feature and not unique to dottorrent-cli. So if you have have further issues with it, you should probably address them here: https://github.com/kz26/dottorrent

Making the patterns work on folders too would be fairly easy, so you could make a feature request for that.

mahkitah avatar Jul 30 '21 08:07 mahkitah

Thanks a lot for your detailled answer. Should I make two feature requests then, one on each repo?

awsms avatar Jul 31 '21 13:07 awsms

No just one, The change needs to be made in dottorrent, not in cli.

mahkitah avatar Jul 31 '21 13:07 mahkitah