bin/delete-fucked-screenshot @ 016ea27f980e

More
author Steve Losh <steve@stevelosh.com>
date Tue, 14 Jan 2020 14:30:49 +0000
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"