Kevin B. Ridgway - Today I LearnedBlogBlog (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Home

  • Installing Diesel CLI on macOS with SQLite Support Only
  • Create a Github Repo from the CLI
  • Base64 Decode and Encode a String from the CLI on macOS
  • Rename All Files in a Directory Using ZSH on macOS
  • Change Location of Where Scheenshots Are Saved on macOS
  • Disable GateKeeper on macOS from the CLI
  • Get the Password of a Wifi Network You've Connected to Before on macOS from the CLI
  • Keep Your Mac Awake from the CLI
  • Play Tetris on the CLI on macOS
  • QuickLook from the CLI on macOS
  • See Everything You've Downloaded on Your Mac in a SQLite Database (and delete it)
  • See the Matrix on the CLI on macOS
  • Set An Alarm on the CLI on macOS
  • Change the Name of Your Computer on macOS By Using the Commandline
  • Get Dependencies Count of Your Rust Project
  • Change Computer Name on macOS When It Seems Stuck On Old One
  • Using Git Worktree
  • Edit Merge Conflicted Files With Vim Using RipGrep (Buffers and Tabs Version)
  • Find SQLite DBs on Your System using fd
  • Output Rust Project's Dependency Graph as SVG
  • Pin Rust Version in Rust Project
  • Curl to Create Jira Tickets
  • Looper + FZF: Choosing and Playing Music from the CLI
  • Download a List of URLs in a File with Curl Or WGET
  • NPM Like Functionality in Rust's Cargo
  • WGET An Entire Website
  • Grab Version of Rust Program in Bash
  • Output Webpack Config of Vue config Project
  • Start a Webserver With Python on macOS
  • Using Git Version on a Node Project in a Makefile for Docker Build
  • Generate Rust Projects from Git Templates
  • Cargo Check When You Change Code in Rust Project
  • Search for Lodash Usages in App By First Finding Dependencies in package.json
  • See Output of Rust Project's LLVM IR
  • Check the Desitnation of a Shortned URL Without Opening It
  • Search Homebrew on CLI Then Open All Results' Homepages
  • Change Your Password on macOS from the CLI
  • Home

  • Blog (opens in a new tab)
  • Installing Diesel CLI on macOS with SQLite Support Only
  • Create a Github Repo from the CLI
  • Base64 Decode and Encode a String from the CLI on macOS
  • Rename All Files in a Directory Using ZSH on macOS
  • Change Location of Where Scheenshots Are Saved on macOS
  • Disable GateKeeper on macOS from the CLI
  • Get the Password of a Wifi Network You've Connected to Before on macOS from the CLI
  • Keep Your Mac Awake from the CLI
  • Play Tetris on the CLI on macOS
  • QuickLook from the CLI on macOS
  • See Everything You've Downloaded on Your Mac in a SQLite Database (and delete it)
  • See the Matrix on the CLI on macOS
  • Set An Alarm on the CLI on macOS
  • Change the Name of Your Computer on macOS By Using the Commandline
  • Get Dependencies Count of Your Rust Project
  • Change Computer Name on macOS When It Seems Stuck On Old One
  • Using Git Worktree
  • Edit Merge Conflicted Files With Vim Using RipGrep (Buffers and Tabs Version)
  • Find SQLite DBs on Your System using fd
  • Output Rust Project's Dependency Graph as SVG
  • Pin Rust Version in Rust Project
  • Curl to Create Jira Tickets
  • Looper + FZF: Choosing and Playing Music from the CLI
  • Download a List of URLs in a File with Curl Or WGET
  • NPM Like Functionality in Rust's Cargo
  • WGET An Entire Website
  • Grab Version of Rust Program in Bash
  • Output Webpack Config of Vue config Project
  • Start a Webserver With Python on macOS
  • Using Git Version on a Node Project in a Makefile for Docker Build
  • Generate Rust Projects from Git Templates
  • Cargo Check When You Change Code in Rust Project
  • Search for Lodash Usages in App By First Finding Dependencies in package.json
  • See Output of Rust Project's LLVM IR
  • Check the Desitnation of a Shortned URL Without Opening It
  • Search Homebrew on CLI Then Open All Results' Homepages
  • Change Your Password on macOS from the CLI
Question? Give us feedback → (opens in a new tab)Edit this page
Rename All Files in a Directory Using ZSH on macOS

Ran into this when building this little site here. Wanted consistency, so figured this out with some Googling.

for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done;
Updated Last:2022-12-27T22:40:27.000Z
Base64 Decode and Encode a String from the CLI on macOSChange Location of Where Scheenshots Are Saved on macOS

Kevin B. Ridgway's Today I Learned Site