Jump to content

SSH with Automator


1 post in this topic

Recommended Posts

Hi,

 

I have been using a Mac since 2 years and now I think its time to use Automator to be productive...

 

I need it to do the following:

- When I drag and drop a folder, it should read all file names in the folder

- Execute the following commands

 

ssh user@server.com

Password

upload-engine file1.txt

upload-engine file2.txt

upload-engine file3.txt

 

Till all files have been uploaded...

 

 

How do I do this??

 

Note: upload-engine is a terminal command on the server that does a specific task with the file, so I have to use that command, not just upload.

Link to comment
Share on other sites

 Share

×
×
  • Create New...