phosta-examples.7.scd (1290B)
1 phosta-examples(7) "phosta" "phosta Examples" 2 3 # NAME 4 phosta-examples - collection of example calls with params for *phosta*(1) 5 6 # SYNOPSIS 7 *phosta* allows to configure automatic word replacement during the import of data. 8 This allows to sanitize and unify ambigous naming used by different image processing tools. 9 10 # EXAMPLES 11 ## GATHER DATA 12 - load data of files with the extensions jpg, jpeg and tiff in folder _~/Pictures_ to the database located in _~/Documents/stats.db_ 13 ``` 14 phosta -E jpg,jpeg,tiff -D ~/Documents/stats.db -p ~/Pictures 15 ``` 16 17 ## QUERY DATA 18 - show image count by _model_ in 2019 grouped by month, sorted by newest month first 19 ``` 20 phosta -s model -g month -t 20190101-20191231 -o month,count 21 ``` 22 23 - show image count by _model_ for _make_ FUJIFILM grouped by year, ordered by year & count descending 24 ``` 25 phosta -s model -f maker=FUJIFILM -g year -o year,count 26 ``` 27 28 - show top 10 image count by _lens_ used the most 29 ``` 30 phosta -n 10 -s lens -o count 31 ``` 32 33 - show image count by camera models where the _maker_ field does not contain the term "ricoh" 34 ``` 35 phosta -s model -f maker!=ricoh 36 ``` 37 38 # SEE ALSO 39 40 *phosta*(1), *phosta-alias*(5), *phosta-faq*(7) 41 42 # AUTHORS 43 44 Maintained by René Wagner <rwa@clttr.info>.++ 45 Project repo can be found at https://git.sr.ht/~rwa/photo-stats