New issue 274: allow single document option to span multiple per-year 
directories
https://bitbucket.org/blais/beancount/issues/274/allow-single-document-option-to-span

Stefano Zacchiroli:

As suggested by the documentation, it is handy to split documents like bank 
statements into per-year sub-directories. To support all of them, one currently 
needs to specify the document option multiple times, e.g. (real-example from my 
own beancount file):
```
#!beancount
option "documents" "documents/2018"
option "documents" "documents/2017"
option "documents" "documents/2016"
option "documents" "documents/2015"
option "documents" "documents/2014"
option "documents" "documents/2013"
option "documents" "documents/2012"
option "documents" "documents/2011"
option "documents" "documents/2010"
option "documents" "documents/2009"
```
Having to maintain this list is tiresome and bloated.

Given how popular this arrangement is, it would be nice if beancount would look 
for both DOCUMENT_DIR/ACCOUNT_NAME/YYYY-MM-DD.file.pdf and 
DOCUMENT_DIR/YYYY/ACCOUNT_NAME/YYYY-MM-DD.file.pdf . With that, it will become 
possible to specify a single document option, like this:
```
#!beancount
option "documents" "documents"
```


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180408071400.10827.85762%40celery-worker-109.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to