dots/.scripts/cam/env.sh

12 lines
378 B
Bash

#!/usr/bin/env bash
export CAM_SRC="/run/media/$USER/disk/"
# 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"