- Created by david-treblig
- 🗓 Last Updated: 09/11/23 14:46:28
- 🌟 Stars on GitHub: 6
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Workflow
- Get Latest Release
- Get Source Code
From their README
Slugify for Alfred 3, 4 and 5
Alfred 3+ workflow to turn any text into a url compatible string of characters. Based on WordPress' function to create URL slugs.
Just download the zip here and open the worfklow file with Alfred.
|‼||WARNING! Since Mac OS 12 (Moneterey), PHP does NOT come pre-installed on Macs, so this Alfred Workflow will not work out of the box. You can install PHP with Homebrew
slug ANYTHING THAT YOU WANT, even with accents like éàê
And this workflow will turn it into
Batch renaming files
This workflow is very useful to rename files quickly as well.
Just select multiple files, hit cmd + shift + space (this is the usual shortcut for file actions, yours can be different) and type "Slug", then select the provided file action. All selected files in the Finder will be processed by the script and be renamed for a URL safe environment.
Eventually move the file action to an output of AppleScript or other script that commits to Finder's history to allow going back (cmd + z) and undo the rename action.