mirror of
https://github.com/vbatts/freezing-octo-hipster.git
synced 2024-11-24 07:55:39 +00:00
manage-pictures: ignore gif files
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
4ab3be9bc6
commit
06d43c4356
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue