Because I still need 2/3 of the solution if I do that. Either way, the point is to get data from BBEdit to a remote server over ssh with as little intervention as possible.

h2n isn't installed on the server, and the administrator would prefer me not installing more utilities than is necessary. I already have the zone files created, I just need a way of getting them from the BBEdit filter to the server, along with httpd.conf entries and shell script commands necessary to create the root directories.

It's more an exercise in BBEdit magic than something I'm going to use a lot. I'm testing it to see what I can't do.

-Derek
On Jun 6, 2008, at 5:31 PM, Greg Raven wrote:

Why not just use h2n?

On Jun 6, 2008, at 12:03 PM, Derek Belrose wrote:

Hey,

I'm trying to wrap my head around everything. Here's what I have so far.

A client gives me a list of 30 domains that he wants websites setup, dns and mail.

I decided it would be a great chance for me to learn filters and scripts. I very quickly created the filters that output the zones, httpd.conf syntax and the commands to create the root directories. What I'm wondering is this: is there a way to create a worksheet from unix filters and if not am I going to have to tie all of this together using apple script?

Here's the flow I am looking for:

Paste list of domains
run a script

the script will:
        create the apache config syntax (one filter)
        create the dns zone syntax (another filter)
create the shell script syntax to create the root directories for the sites (third filter)
        somehow create a worksheet
pipe the syntax along with shell commands over ssh (ssh keys are working, no passwords needed)
        

Is this a pipe dream or can I actually achieve this in BBEdit?

Thanks!
Derek

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to