richardlehane / siegfried

signature-based file format identification
http://www.itforarchivists.com/siegfried
Apache License 2.0
225 stars 30 forks source link

use the xdg base directory specification for home directory #216

Closed richardlehane closed 11 months ago

richardlehane commented 1 year ago

By default vanilla siegfried defaults to a "siegfried" folder in users' home directories.

I should probably use https://xdgbasedirectoryspecification.com/ & on windows use appdata

An environment variable (SIEGFRIED_HOME) too would be nice. Order to choose home dir would be: -home flag first, then env var, then default location xdg.

richardlehane commented 11 months ago

feature merged in v1.11.0 release