Exclude folders with --exclude option?
Hi, I'd like to know how the --exclude function work, and if it's possible to exclude unwanted folders with it
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.
Thanks a lot for your detailled answer. Should I make two feature requests then, one on each repo?
No just one, The change needs to be made in dottorrent, not in cli.