I want to start a simple shell script in automator and save it as an application.
How do I realize this: I drag a folder to my new application, the terminal command is a simple 'ls' of that folder, I want to output that ls result to a text file under ~/Desktop/test.txt
and open that test.txt in a text editor.
What I did already is create a new automator app and run a shell script and type ls
and I see nothing
how can I realize this?
and BTW I want to use the run shell script part, because I want to use this technique for other terminal commands