1
0
Fork 0
mirror of https://github.com/vbatts/freezing-octo-hipster.git synced 2024-12-22 03:36:30 +00:00

manage-pictures: ignore gif files

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2024-08-28 21:28:38 -04:00
parent 4ab3be9bc6
commit 06d43c4356
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -43,6 +43,9 @@ func main() {
if !info.Mode().IsRegular() {
return nil
}
if filepath.Ext(path) == ".gif" {
return nil
}
if *flMove {
if err := ps.Move(path, *flVerbose); err != nil {
log.Printf("WARN: %q failed with %s", path, err)