dots/.scripts/cam/env.sh

13 lines
422 B
Bash
Raw Normal View History

2021-08-15 16:28:10 +01:00
#!/usr/bin/env bash
export CAM_SRC="/run/media/$USER/disk/"
2022-07-19 23:50:37 +01:00
export CAM_PIC_SRC="$CAM_SRC/DCIM/100MSDCF"
2022-06-01 19:09:19 +01: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"