Jump to content

SSH with Automator


  • Please log in to reply
No replies to this topic

#1
Jash Sayani

Jash Sayani

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy