As usual, 5 seconds after I press send I come up with the solution.
I wrote a script ‘listSPAMdirectory.sh’:
#!/bin/sh
# list SPAM directory
cd /Library/Server/Web/Data/Sites/~byteserve/SPAM/
ls -1
I then called it from the Command Line action.
And then displayed ‘@@resultset’
DONE!
Wayne Irvine
_
I would like to return the list of files in a directory
ls -1
I use the Command Line Action and type the absolute path followed by the above
command.
How do I direct the results to a var?
Wayne Irvine
Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088
To unsubscribe from this list, please send an email to lists...@terascript.com
with "unsubscribe terascript-talk" in the body.