From 06d43c43562f7ff7e66240bc11dd09fbfff3191b Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 28 Aug 2024 21:28:38 -0400 Subject: [PATCH] manage-pictures: ignore gif files Signed-off-by: Vincent Batts --- cmd/manage-pictures/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/manage-pictures/main.go b/cmd/manage-pictures/main.go index ce4a72c..d9f8b6b 100644 --- a/cmd/manage-pictures/main.go +++ b/cmd/manage-pictures/main.go @@ -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)