Comments (3)
Try again with --exclude-pattern
(double dash) instead of -exclude-pattern
. Python uses single dash for short switches (for example -h
) or double dash for long switches (for example --help
).
from py3createtorrent.
Try again with
--exclude-pattern
(double dash) instead of-exclude-pattern
. Python uses single dash for short switches (for example-h
) or double dash for long switches (for example--help
).
Thanks. the following command works. Much appreciated.
--exclude-pattern "(^.*\.r.*|sfv)$"
Another issue here. I used to use mktorrent which can support ‘relative path'.
But it seems py3createtorrent can't support 'relative path' here. For example, If I use it like this,
py3createtorrent -v -p 8192 -P -s FL -o ~/example.torrent -d -1 -t https://tracker/announce.php --exclude-pattern "(^.*\.r.*|sfv)$" ./
It will create a torrent with a wierd name [. ] in its name field, and I can't add this torrent to my torrent client anyway.
If I change the path to full path, the torrent created will be OK.
from py3createtorrent.
Thank you for reporting the relative path issue. I can confirm that this is a bug. I created a separate issue for that, though. See #11
from py3createtorrent.
Related Issues (18)
- Faulty torrent name and 'name' field when using relative path '.'
- cant exclude folder that start with . HOT 3
- Support for usage as a module HOT 9
- Support for optimise alignment (Piece-Aligned, BEP-47) ?
- Make "master" the default branch again HOT 3
- No way to populate a "source" field? HOT 2
- Trackerless torrent HOT 3
- UnicodeEncodeError HOT 6
- Is 16MiB a hard limit for max pieces size? HOT 2
- Remove created_by attribute HOT 1
- run fails with "SyntaxError: invalid syntax" HOT 3
- noob question
- Where is the config file? HOT 4
- Requires Python 3.8 HOT 2
- Support for v2 and hybrid torrent files HOT 2
- Torrent name assignment HOT 8
- Error with path exceeded than 260 characters in Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py3createtorrent.