diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-06-28 01:48:42 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-06-28 01:48:42 +0400 |
commit | e621411d9022d92c22e970d762cf22c9716de31e (patch) | |
tree | 385daf5fcde603ce9edab68883709fdf24baf5f0 | |
parent | 361bb9c6df46a6f6c7df3f008087ce8f8a372357 (diff) |
fix(shot): append .png extension to autogenerated filenames
-rwxr-xr-x | scripts/shot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/shot b/scripts/shot index 1d296c8..dc1de87 100755 --- a/scripts/shot +++ b/scripts/shot @@ -42,7 +42,7 @@ shift $((OPTIND - 1)) outfile="${input}" -[ -d "${input}" ] && outfile="${input}/$(date '+%b%d::%H%M%S')" +[ -d "${input}" ] && outfile="${input}/$(date '+%b%d::%H%M%S').png" if [ ! -e "$(dirname "${outfile}")" ]; then mkdir -p "$(dirname "${outfile}")" > /dev/null 2>&1 \ |