osx - Automator Application to Tar File -



osx - Automator Application to Tar File -

i have tried creating application in automator when double clicked, tar to-do.txt file. command i'm using pretty standard:

tar -cvzf todo.tar.gz /users/myusername/desktop/to-do.txt

the above command works when entered terminal, created application in automator , set 'run shell script' action workflow command above. however, when double click application nil @ all.

if run workflow in automator, runs know there no errors.

can tell me why isn't working?

i have managed work changing 'shell:' alternative /bin/sh instead of /bin/bash.

works well. changed specified filename utilize arguments $@ , can tar file it.

osx terminal tar automator

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -