Jump to content

Copy folder contents to another folder?


Recommended Posts

Hi there,

 

I'm just new to Alfred (Launchbar converter).

 

I have a template web folder with a few files in it and would like to create a workflow to automate copying the contents on this folder to my website testing (mamp) folder by just typing 'newsite' into Alfred.

 

Is this possible with Workflows?

 

Regard,

 

TJ

Link to comment

Hi there,

 

I'm just new to Alfred (Launchbar converter).

 

I have a template web folder with a few files in it and would like to create a workflow to automate copying the contents on this folder to my website testing (mamp) folder by just typing 'newsite' into Alfred.

 

Is this possible with Workflows?

 

Regard,

 

TJ

 

Of course. This could be done by copying the contents of the original folder to the destination using terminal commands. Create a new workflow using the Essentials->Keyword to Script to Notification template. Set your keyword and details then in the code area of the Script, use the cp terminal command to copy the contents from one to the other. Then you can use the Notification to alert you when the copy completed

Link to comment

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