2021-08-15 17:28:10 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
export CAM_SRC="/run/media/$USER/disk/"
|
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"
|