r/AskProgramming • u/Swizzel-Stixx • May 12 '26
Where do I even start??! (Want to make a shell script for comparing files)
Hi, I have very limited experience with shell scripts, I’ve made a few one liners to speed up repetitive processes on my linux pc, or invoke functions without having to type the command again, but nothing in depth.
My camera saves files in .jpg and .cr2 formats. I cull images using the jpeg viewer and the delete button so once I have finished culling I need to go down the list and delete orphaned .cr2 files. This takes ages and it would be nice to automate. So I opened my text editor and my browser and got to work, and after countless hours had 0 lines of code.
My question is, how or where do I start with learning how to make this automation. I could ask an ai to make the script for me, but I wouldn’t learn anything! That’s no fun and it could destroy my images.