{"version":"2.1.332","anchor":"read-db-out-dir-refuses-leading-names","canonical_anchor":"read-db-out-dir-refuses-leading-names","heading":"Artifact database saves avoid names that start with a dash","tier":"notice","area":"Artifacts","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/read-db-out-dir-refuses-leading-names","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Artifact database saves avoid names that start with a dash\n\n`read_db` no longer saves to a folder path with a part starting with \"-\", and file names starting with - or + are encoded\n\n**What**\n\nWhen `read_db` saves an artifact database collection to a folder with `out_dir`, it now refuses if any part of the folder path starts with \"-\". Document file names that start with `-` or `+` are now written with `%2D` or `%2B` in place of that first character.\n\n**Why**\n\nShell commands often read a name starting with a dash as an option rather than a file. Keeping saved names from starting that way stops a later command from mistaking a file for an option.\n\n- Area: Artifacts\n- Names: `read_db`, `out_dir`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}