dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 2ec6c400db390c702ad3dbff86d683fa1431fddd
parent aaa07bc80e7a49c7b4b8fac569bc956bcb4c9d47
Author: hhvn <dev@hhvn.uk>
Date:   Mon, 19 Jul 2021 12:39:16 +0100

.s/b/imgclean: fix typo for checking symbolic link's existance

Diffstat:
M.scripts/bin/imgclean | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.scripts/bin/imgclean b/.scripts/bin/imgclean @@ -29,7 +29,7 @@ do exiftool "$f" -all= -o "$odir/$sum".jpg >/dev/null printf 'done\n' } || printf "%s already exists, ignoring %s...\n" "$odir/$sum.jpg" "$f" - [ ! -f "$oder/$nhash".jpg ] && { + [ ! -f "$odir/$nhash".jpg ] && { printf 'symlinking %s <-> %s...' "$odir/$sum.jpg" "$odir/$nhash.jpg" # symlinks are relative to the directory the symlink is in, # therefore - do not use $odir/$sum.jpg. ln is kinda dumb in