[docutils:feature-requests] #36 prevent accidential file overwrites by wildcard expansion

Günter Milde via Docutils-develop <[email protected]> Tue, 29 Apr 2025 19:47:42 -0000
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/36/90f1bb5b952ea424a6cfafd8ba8123dcc645b7a1.feature-requests@docutils.p.sourceforge.net>
- **status**: open-accepted --> pending
- **Comment**:

This is a work in progress due to backwards incompatible changes. It will be finished in Docutils2.0.



---

**[feature-requests:#36] prevent accidential file overwrites by wildcard expansion**

**Status:** pending
**Group:** Default
**Created:** Fri Mar 15, 2013 10:43 PM UTC by Jakub Wilk
**Last Updated:** Tue Apr 18, 2023 11:51 AM UTC
**Owner:** nobody


A Debian user complained that if you use a wildcard as input file name, and the wildcard unexpectedly expands to two names, then rst2html will overwrite your files:
http://bugs.debian.org/654690

Would if be possible to add an option for not overwriting output files, that you could add to your configuration file, and later override from command line if needed?



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.