drw158 Posted March 22, 2013 Share Posted March 22, 2013 I would like to create a workflow that basically executes a series of terminal commands, one after another. The input requires no query or variables, it's just a series of commands. The only hitch may be that I have to wait for the first terminal command to finish before executing the next command. Link to comment
Tyler Eich Posted March 22, 2013 Share Posted March 22, 2013 (edited) I think you just type each command (inside a 'Run Script' Action), followed by a new line. Then each will be executed after the one before it Edited March 22, 2013 by Tyler Eich Link to comment
drw158 Posted March 22, 2013 Author Share Posted March 22, 2013 I think you just type each command (inside a 'Run Script' Action), followed by a new line. Then each will be executed after the one before it I knew I was missing something thanks! Link to comment
rootscript Posted March 22, 2013 Share Posted March 22, 2013 (edited) You can also try this: cd ~/Desktop && mkdir {query} && cd {query} or even standard cd ~/Desktop; mkdir {query}; cd {query}; etc....... Edited March 22, 2013 by rootscript Link to comment
sirbrillig Posted May 15, 2013 Share Posted May 15, 2013 I'd suggest also piping output somewhere that you can check it (depending of course on what your commands are doing). mkdir foobar && echo 'foobar' > >(logger -t a8c-setup) 2>&1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now