How can I save the Terminal output?
How can I save the Terminal output?
- Subject: How can I save the Terminal output?
- From: markus kern <email@hidden>
- Date: Sun, 24 May 2009 21:01:43 -0700
Hello,
I'd like to save the buffer of my mac Terminal sessions periodically into a file; I typically have more than one window open, so ideally it would save them into teminal_session_1.txt, terminal_session_2.txt, etc. I tried something like:
tell application "Terminal"
tell window 1
save in "/tmp/terminal_session_1"
end tell
end tell
And hoped that once I get that to work, I'll make a loop around it and run it from a cron, but it doesn't seem to actually save the output (it does not complain either). Any ideas?
Thanks,
Markus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden