dots/.scripts/cam/env.sh

13 lines
422 B
Bash
Raw Normal View History

2021-08-15 17:28:10 +02:00
#!/usr/bin/env bash
export CAM_SRC="/run/media/$USER/disk/"
2022-07-20 00:50:37 +02:00
export CAM_PIC_SRC="$CAM_SRC/DCIM/100MSDCF"
2022-06-01 20:09:19 +02:00
# TODO: this is actually garbage lol, when importing pictures we should sort them
# by their metadata, not by todays date and CERTAINLY not in an env variable which could
# be in a shell started days ago
# a dated directory to store
today="`date +%Y`/`date +%m`/`date +%d`"
export CAM_TODAY="$HOME/pic/cam/$today"