Jump to content

File Action: Duplicate


Recommended Posts

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 post
  • 5 years later...

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 post

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?

2021-04-08_46.jpg

Link to post

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 post
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 post

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 post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...