bin/delete-fucked-screenshot @ db7bfe2ae23b

Merge.
author Steve Losh <steve@stevelosh.com>
date Fri, 17 Jan 2020 21:11:36 -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"