I am trying to run a simple script that creates a list of a directory and print it into a txt on another location.
It works fine in terminal but when I try to make it in a script it hangs on the ">" character.
The Terminal command looks like this.
- Code: Select all
ls /Volumes/Movies* > "/Users/Vincent/Documents/8 Stock/Lists/Movies.txt"
anybody any Idea why this is not working in script form?