diff options
author | EuAndreh <eu@euandre.org> | 2025-03-03 07:59:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-03 07:59:02 -0300 |
commit | 6952319a1f5c2348be2ef58efaebf863a65f5d53 (patch) | |
tree | 66d4ac994942543304d76f99f8445e714d49d32c /bin | |
parent | bin/process: Fix data/ paths (diff) | |
download | dotfiles-6952319a1f5c2348be2ef58efaebf863a65f5d53.tar.gz dotfiles-6952319a1f5c2348be2ef58efaebf863a65f5d53.tar.xz |
bin/live: Ensure directories exist
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/live | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,10 @@ #!/bin/sh set -eu -cd "${LIVEDIR:-$HOME/Public/live}" +D="${LIVEDIR:-$HOME/Public/live}" +mkdir -p "$D"/queue +cd "$D" + DIR="data/$(timestamp)"/"$(now)" mkdir -p "$DIR" cd "$DIR" |