Scripting Notes

Rename file extension

!#/bin/bash
for f in *.JPG;
  do mv -- "$f" "${f%.JPG}.jpg";
done

Get paste-able filename list (used for {jrnl} entries)

ls -1 2021-08-*

Reverse terminal output