nickwild Posted May 28, 2015 Share Posted May 28, 2015 Hi, Is there any way, either by configuration or by a workflow, to just do a plain vanilla duplicate on a file in the same location? Many thanks Nick Link to comment
jdfwarrior Posted May 29, 2015 Share Posted May 29, 2015 Hi, Is there any way, either by configuration or by a workflow, to just do a plain vanilla duplicate on a file in the same location? Many thanks Nick It can be done with a workflow, certainly. Try this one out. It will make a copy of the file named filename-1.ext Link to comment
Shakti Posted April 6, 2021 Share Posted April 6, 2021 Jeeze this sounds perfect. The link is expired though. Does anyone else know how to duplicate a file as an action? For example you have a template file I often fill out. And I often forget to make a copy thus messing up the template. So if I could just: File action -> copy template -> open copy. That would be awesome! Link to comment
giovanni Posted April 6, 2021 Share Posted April 6, 2021 would this work? set MYSUFFIX to your preferred suffix in environment variables https://github.com/giovannicoppola/alfred-cloneopen Link to comment
deanishe Posted April 7, 2021 Share Posted April 7, 2021 Duplicate Files workflow. Adds a "Duplicate" File Action that will create a copy of the selected files/folders alongside the original. Link to comment
Shakti Posted April 9, 2021 Share Posted April 9, 2021 Ya awesome that duplicate action is really useful! Thanks guys. Do you know how to make it run on a file? I have a keyword trigger --> the file path appears in "Action in Alfred". --> Then I need the script run on that path? Is there a way to trigger it on one file from a keyword? Link to comment
giovanni Posted April 9, 2021 Share Posted April 9, 2021 you just need to install the workflow. the action will appear as one of the regular actions on any file when you press ▶️ 1) you search your file 2) press ▶️ 3) choose the duplicate action Link to comment
deanishe Posted April 9, 2021 Share Posted April 9, 2021 7 hours ago, Shakti said: Is there a way to trigger it on one file from a keyword? Not really. First you need to select a file before you can trigger a File Action. Normally, you use Alfred's Selection Hotkey (Alfred Preferences > Features > Actions > General) on the files in Finder. Link to comment
Shakti Posted April 9, 2021 Share Posted April 9, 2021 Ok perfect! I made it Command D so I just hit D to duplicate, then O to open. Thanks 👍🌲 Link to comment
giovanni Posted April 9, 2021 Share Posted April 9, 2021 I might be missing something, but if you are going to use it like this what is the difference from using the native ⌘-D to duplicate a file? saving one keystroke because the new cloned file is automatically selected? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now