💻 Software
Give all files a .jpg extension
Fresh5 days ago
Mar 15, 2026868 viewsConfidence Score0%
0%
Problem
I have a directory and some of the files' extensions are in uppercase (.JPG) instead of lowercase. I want to make sure every file has .jpg as its extension. How would I do this from a shell prompt?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Give all files a .jpg extension
Low Risk
Using Shell Parameter Expansion: The characters will take care of filenames containing spaces, as photographs often do.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix