this post was submitted on 13 Feb 2026
29 points (96.8% liked)
Linux
12287 readers
277 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can simplify the for loop by something like
or, if you don't use bash,
both versions call imagemagick's convert on all files ending in .gif in the images folder.
For testing, put an "echo" command in front of the "convert" .
You could also check out if there are Rust utilities which do what you want - you'd need to install these using "cargo install".