Re: "cd " and "tail -f" on a file
Re: "cd " and "tail -f" on a file
- Subject: Re: "cd " and "tail -f" on a file
- From: Andrew Oliver <email@hidden>
- Date: Mon, 17 Mar 2003 06:16:01 -0800
You mean like:
tell application "Terminal"
do script "cd /some/path; tail filename.txt"
end tell
Presumably you do realize that you can:
set someVar to do shell script "cd /some/path/; tail filename.txt"
And read the tail output into an AppleScript variable, right?
Andrew
:)
On 3/17/03 6:06 AM, "Todd Reid" <email@hidden> wrote:
>
I9m wondering if anyone can assist me with a scripting need. I need to (via
>
applescript, preferably) change directory and then tail a file in the
>
Terminal.
>
>
Any help is greatly appreciated...
>
>
Todd
>
>
>
>
>
Creo | Creative Software Group
>
todd reid | quality assurance engineer | +1.720.932.4718
>
email@hidden | http://www.creo.com/sixdegrees
>
>
IMAGINE CREATE BELIEVE
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.