Tools & Resources
Simple Scripts to Automate Your Boring Computer Tasks
Stop doing the same tiny computer chore forever. A few simple scripts can handle files, folders, backups, and cleanup.

You do not need to become a programmer.
You need one tiny script.
That is where people mess this up.
They see scripts and imagine a black screen, a hoodie, and six months of tutorials.
Relax.
A script is just instructions your computer follows without making you click 43 times like it is still 2006.
If you rename files, clean downloads, resize images, back up folders, or move the same stuff every week, simple scripts can help.
Start With The Annoyance
Do not start with “learn Python.”
Start with:
- What do I do more than twice a month?
- What always follows the same steps?
- What makes me mutter at my laptop?
- What would be fine if it happened automatically?
That is your target.
One target. Not your whole digital life.
If the task is inside apps, read automation tools that actually save time. If the task is on your machine, scripts are usually faster and cleaner.
Bash One-Liners: The First Useful Level
On Mac and Linux, you already have a terminal. On Windows, PowerShell can do the same kind of job.
Start small.
Preview old temp files in Downloads:
find ~/Downloads -name "*temp*" -mtime +7 -print
This only shows files.
It does not delete anything.
Good. Preview first. Be boring. Keep your files.
When the list looks right, you can delete:
find ~/Downloads -name "*temp*" -mtime +7 -delete
Rename every JPG in a folder with today’s date:
for file in *.jpg; do mv "$file" "2025-01-$(date +%d)-$file"; done
That looks scarier than it is.
It says: for every JPG here, rename it with a date at the front.
Do not run this in your main photo folder the first time. Make a test folder. Put three copies in it. Run it there.
Resize PNG images after installing ImageMagick:
for file in *.png; do magick "$file" -resize 800x600 "thumb-$file"; done
Now every PNG gets a smaller copy with thumb- in front.
This is the script mindset:
- Pick a folder
- Pick a pattern
- Test on copies
- Save the command if it works
Python When There Is Logic
Bash is great for file moves.
Python is friendlier when the task has rules.
Example: put every invoice file into a year folder based on the name.
from pathlib import Path
for file in Path("Invoices").glob("*.pdf"):
year = file.name[:4]
target = Path("Invoices") / year
target.mkdir(exist_ok=True)
file.rename(target / file.name)
If your invoice files start with the year, this sorts them.
No clicking. No drag-and-drop ritual. No “I’ll clean this folder later” lie.
Backup a folder with today’s date:
tar -czf backup-$(date +%Y-%m-%d).tar.gz ~/my-important-folder
Save this somewhere. Run it before travel, before a laptop repair, or before you do anything bold with files.
Use Buttons When Buttons Are Better
You do not need terminal energy for everything.
Mac has Shortcuts and Automator.
Windows has Task Scheduler and PowerShell.
Use them when you want:
- A scheduled cleanup
- A right-click file action
- A weekly backup
- A button you can run without remembering a command
This is where the automation starter pack is useful. Start visual if code makes you freeze. The point is not to look technical. The point is to stop doing the dumb chore.
The Safety Rules
Scripts are sharp.
So use them like a grownup.
- Test on copies first
- Preview before delete
- Use specific folders
- Do not run random code from the internet on your whole computer
- Keep the original files until you trust the script
Yes, this is less thrilling.
Thrilling is how people delete their desktop.
Your First Script
Do this today:
- Make a folder called
script-test. - Put three junk files in it.
- Run one safe command in that folder.
- Check the result.
- Save the command in a note.
That is it.
The win is not “I learned automation.”
The win is “I no longer do that task by hand.”
And if you are tempted to build a giant system before solving one annoyance, go read apps that replace 5 other apps. Sometimes the cleanest automation is fewer moving parts.
One tiny script.
Then another.
That is how the boring work starts disappearing.
Advertisement