PickyFox

tools-resources

Simple Scripts to Automate Your Boring Computer Tasks

January 15, 2026

Stop manually doing the same computer task 50 times a month. Bash one-liners, Python scripts, and system Shortcuts can handle it. Here's how to start without becoming a programmer.

A close up of a sign with numbers on it
Photo by Chris Stein / Unsplash

You know that thing you do every single day? The one where you manually rename 30 files, or reorganize a folder, or paste the same text into five different places. And you think to yourself: There’s got to be a way to make this automatic.

There is. And you don’t need to be a programmer to do it.

Scripts are just instructions you tell your computer to follow. One line of code can do what takes you five minutes of clicking. One simple automation can save you hours every month. The beauty is that you probably already have everything you need installed on your machine right now.

Let me show you what’s actually possible—and how to start without the typical programming tutorial nonsense.

🎯 Why Scripts Beat GUI Automation Tools

When you’re looking to automate something, you’ll hear about Zapier, Make, IFTTT. Those tools are solid if you need to connect different apps. But if the task is happening on your actual computer—moving files, renaming things, batch processing—a simple script is faster, free, and doesn’t require a subscription or learning some company’s specific workflow language.

Plus, scripts run instantly. No waiting for services to sync. No middle-man software throttling your speed.


Bash One-Liners: The Easiest Starting Point

If you’re on Mac or Linux, Bash is already there. If you’re on Windows, you’ve got PowerShell or Windows Terminal (which now supports Bash). Open Terminal and start typing.

Here are some genuinely useful one-liners that take 30 seconds to understand:

Rename all files in a folder to add a date:

for file in *.jpg; do mv "$file" "2025-01-$(date +%d)-$file"; done

This loops through every .jpg file in your current folder and prepends today’s date to the filename. Sounds complicated. It’s not. for file in *.jpg means “look at each jpg file.” mv means move/rename. Done in one line instead of clicking 50 times.

Convert a bunch of images to different sizes:

for file in *.png; do convert "$file" -resize 800x600 "thumb-$file"; done

Uses ImageMagick (free, install with brew install imagemagick on Mac). Resizes every PNG and adds “thumb-” to the filename. You just went from an hour of work to 10 seconds.

Find and delete all temp files older than 7 days:

find ~/Downloads -name "*temp*" -mtime +7 -delete

This searches your Downloads folder, finds anything with “temp” in the name that’s older than 7 days, and deletes it. Safe? Yes, because you specified the folder and the pattern. Risky? Only if you don’t check first. (Run without -delete to preview what it’ll do.)

Backup a folder to a dated archive:

tar -czf backup-$(date +%Y-%m-%d).tar.gz ~/my-important-folder

Creates a compressed backup of a folder with today’s date in the filename. One line. Happens instantly.

The pattern with all of these: you’re doing something repetitive, and you’re replacing 50 clicks with one command. Once you run it once, you can save it and run it again next month.


Python for When Bash Feels Limiting

Bash is great for file operations and simple commands. But if you need to actually process data—parse a CSV, transform text, do calculations—Python is friendlier and more readable.

You probably have Python on your machine already. Check by opening Terminal and typing python3 --version.

Batch rename files by their creation date:

import os
from datetime import datetime

for filename in os.listdir('.'):
    if os.path.isfile(filename):
        creation_time = os.path.getctime(filename)
        date_created = datetime.fromtimestamp(creation_time).strftime('%Y-%m-%d')
        name, ext = os.path.splitext(filename)
        os.rename(filename, f"{date_created}-{name}{ext}")

Save this in a file called rename_by_date.py, move it to a folder with files you want to rename, and run python3 rename_by_date.py. Every file in that folder gets prepended with its creation date. Done.

Extract specific data from a CSV file:

import csv

with open('data.csv', 'r') as infile:
    reader = csv.DictReader(infile)
    with open('filtered.csv', 'w', newline='') as outfile:
        writer = csv.DictWriter(outfile, fieldnames=['Name', 'Email'])
        writer.writeheader()
        for row in reader:
            if row['Status'] == 'Active':
                writer.writerow({'Name': row['Name'], 'Email': row['Email']})

This reads a CSV, filters for only “Active” entries, and writes a new CSV with just Name and Email columns. Instead of manually copying and pasting rows, one script handles it.

Generate placeholder files for testing:

import os

for i in range(1, 101):
    with open(f'test-file-{i:03d}.txt', 'w') as f:
        f.write(f'This is test file number {i}\n')

Creates 100 numbered test files instantly. Useful for testing batch operations without actually needing 100 real files.

The advantage here is readability. Python reads almost like English. If you need to tweak the logic in six months, you’ll actually understand what you wrote.


System Shortcuts (Mac) and Task Scheduler (Windows)

Bash and Python work if you’re comfortable with a command line. But if you want something you can click on, your operating system has built-in automation.

On Mac: Open Automator. Create a new “Quick Action” or “Workflow.” You can drag and drop actions together without writing any code. Create a workflow that takes selected files, renames them, organizes them by type, compresses them—whatever. Save it. Now it shows up in your right-click menu.

For example: Create a workflow that takes any folder I right-click, moves PDFs to Documents/Archived-PDFs, moves images to Documents/Photos, moves everything else to Documents/Other. Then you’re not manually sorting anymore. You just right-click and let the workflow do it.

On Windows: Task Scheduler lets you schedule PowerShell or batch scripts to run at specific times. Set a task to delete files older than 30 days in your Downloads folder every Sunday at midnight. Set another to back up your important folders every Friday at 5 PM. You don’t have to think about it.

The beauty of these is you don’t need to learn a programming language. It’s visual, it’s simple, and it’s already built into your OS.


Getting Started (Without Falling Into the Rabbit Hole)

Here’s what actually works:

  1. Identify something you do more than twice a month. If it’s clicking the same buttons or doing the same steps, it’s automatable.

  2. Start stupidly simple. Not a complex workflow. One thing. One script. “Move all PDFs from Downloads to Documents” not “completely reorganize my entire digital life.”

  3. Google the exact thing you want to do. Type “bash rename files with date” or “python batch delete old files.” Someone has already solved it. Copy the example. Modify it to fit your folders. Test it on a small batch first.

  4. Run it once. Test it. Then use it again.

Don’t get seduced into spending three hours building the perfect automation system. You’re trying to save time, not create more busywork. A five-minute script you run once a month is a win.


What Actually Saves the Most Time

The scripts that matter most aren’t the fancy ones. They’re the ones that replace something you do weekly or daily. Moving files, organizing downloads, backing up work, renaming batches of photos, extracting data.

Each one might only save 10 minutes. But do that five times a month? You just got an hour back. Do it across ten different tasks? That’s a full afternoon of your life.

If you’ve been thinking about automation but assumed you needed to learn programming, you don’t. You need one script. That’s it. Find it, copy it, run it. Your computer does the rest.


If you’re serious about this, check out automation tools that actually save time—it covers the bigger-picture automation layers beyond scripts. Or if you’re just starting out, the automation starter pack is a good on-ramp before you touch code. And if you’re drowning in complexity, you might want to read about apps that replace 5 other apps—sometimes the simplest automation is just using fewer tools in the first place.