summaryrefslogtreecommitdiffstats
path: root/.local/bin/makenoextpng
blob: c6049fabadd0d43ab82f3fc7164806da9a4a7785 (plain) (blame)
1
2
3
4
5
6
7
8
9
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