From 0d05ef1e12314985988e567ac22a179d0f646899 Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 14 Jan 2023 10:33:04 -0600 Subject: Inital Commit --- .local/bin/makenoextpng | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .local/bin/makenoextpng (limited to '.local/bin/makenoextpng') diff --git a/.local/bin/makenoextpng b/.local/bin/makenoextpng new file mode 100755 index 0000000..c6049fa --- /dev/null +++ b/.local/bin/makenoextpng @@ -0,0 +1,10 @@ +#!/bin/sh + +#Description: Appends a png extension to all files without an extension. + +#Axioms: + +#Dependencies: https://packages.debian.org/stretch/xargs + + +find . -type f ! -name "*.*" -print0 | xargs --null -I{} mv {} {}.png -- cgit v1.2.3