alfred-rename
v0.0.1
Published
Alfred workflow to rename files and folders via your clipboard
Downloads
3
Maintainers
Readme
alfred-rename
Alfred workflow to rename files and folders via your clipboard
Add prefix, postfix, and replace {replace}
strings inside of file and folder names easily.
Install
npm install --global alfred-rename
Requires Node.js 14+ and the Alfred Powerpack.
Usage
Careful: the file rename actions can not be reversed!
If you want to test if you like the result of the workflow, duplicate the files and folders!
- Copy a simple text (one line only) into the clipboard
- Invoke the Alfred File Browser on one or multiple files / folders
- Select
Rename File(s) via Clipboard
action and hit Enter - You will be presented with multiple options to place your clipboard content
- When hitting Enter you will copy the new file names into clipboard
- This is for the purpose of previewing the change.
- To then actually do the change, you will have to copy your initial text element again…
- To actually make the rename happen, hold down Command and hit Enter
- The files will be renamed based on your selection
Replace Variable
If you are using a lot of template files and you would like to place a certain text element into them, you can do the following:
- Create your files
- Put
{replace}
into the filename at the place where you want the other text to go - Now copy something into your clipboard (like a project name)
- Select the files, and run the
Rename File(s) via Clipboard
action - Then select the
Replace Variable with Clipboard
action - Hold down Command and hit Enter to replace the variable in the selected files
Related
- More Alfred Workflows - My Alfred Workflow Directory
- alfy - Create Alfred workflows with ease