5 Simple Bash Scripts That Can Save You Hours (and Maybe Make You Money) | by Faruk Ahmed | Apr, 2025
Faruk

Faruk @cyberwebpen

About: InfoSec Analyst | 10+ yrs in DLP, CrowdStrike, QRadar, Qualys, Linux Admin, WebLogic Admin | Python & Bash Enthusiast | Passionate about cybersecurity, automation, and continuous learning.

Joined:
Apr 27, 2025

5 Simple Bash Scripts That Can Save You Hours (and Maybe Make You Money) | by Faruk Ahmed | Apr, 2025

Publish Date: Apr 28
0 0

Member-only story

5 Simple Bash Scripts That Can Save You Hours (and Maybe Make You Money)

--

Share

Intro: If you’ve ever done the same task on your computer more than twice, chances are you could’ve automated it. That’s where Bash scripting comes in. It’s fast, it’s lightweight, and it works on every Linux or Mac machine. Whether you’re a sysadmin, a hobbyist, or just someone who wants to save time (or make money), these 5 simple Bash scripts will change your workflow — and maybe even your bank account.

1. Auto-Organize Your Downloads Folder

  • Script moves files to folders by type: PDFs, images, ZIPs, etc.
  • Perfect for keeping your system clean.
  • Clients love this as a basic “clean-up service.”

find ~/Downloads -type f -name "*.pdf" -exec mv {} ~/Documents/PDFs/ \;

find ~/Downloads -type f -name "*.pdf" -exec mv {} ~/Documents/PDFs/ \;

2. Bulk Rename Files (Great for Photos, Logs, etc.)

  • Saves hours for photographers, web devs, and admins.
  • You can offer this on Fiverr for basic automation gigs.

for f in *.jpg; do mv "$f" "image_$(date +%s%N).jpg"; done

for f in *.jpg; do mv "$f" "image_$(date +%s%N).jpg"; done

3. Backup Files with Timestamps

  • Backups with auto timestamping = no overwrites.

👉 Read Full Blog on Medium Here

Comments 0 total

    Add comment