diff options
author | EuAndreh <eu@euandre.org> | 2025-03-03 06:54:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-03 06:54:10 -0300 |
commit | 85bef92e57af95f1e8fc374193a5e311e6061878 (patch) | |
tree | 6667941e6b4df832201d794567786432150b6fac /bin/upload | |
parent | bin/process: Use "info" loglevel for ffmpeg(1) (diff) | |
download | dotfiles-85bef92e57af95f1e8fc374193a5e311e6061878.tar.gz dotfiles-85bef92e57af95f1e8fc374193a5e311e6061878.tar.xz |
bin/upload: Deal gracefully when there is nothing to do
Diffstat (limited to 'bin/upload')
-rwxr-xr-x | bin/upload | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,10 @@ set -eu cd "${LIVEDIR:-$HOME/Public/live/}" for f in queue/*.webm; do + if [ "$f" = 'queue/*.webm' ]; then + break + fi + rsync -avP -- "$f" toph:lives/ : day="$(basename -- "$f" .webm)" : rm -rf "$day"/ |