bin/delete-fucked-screenshot @ 225e199eb102

More
author Steve Losh <steve@stevelosh.com>
date Wed, 15 Jan 2020 18:58:23 -0500
parents 72582740f458
children (none)
#!/usr/bin/env bash

set -euo pipefail

SS=`ls -1 ~/Dropbox/fucked-screenshots/*.png | sort -nr | head -1`
test "$SS" != ""
rm "$SS"
echom "deleted $SS"