Jump to content

SSH with Automator

  • Please log in to reply
No replies to this topic

Jash Sayani

Jash Sayani

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts

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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy