[TxMt] automate subversion checkout
Michael Irwin
michael at taurusagency.com
Fri Sep 9 15:35:55 UTC 2005
On Sep 9, 2005, at 11:23 AM, Jim Woolum wrote:
> Question from a Terminal newbie ... is there a way to automatically
> execute the three commands I use for the subversion checkout?
>
> (Namely these three:
>
> cd /Library/Application\ Support/TextMate
>
> export LC_CTYPE=en_US.UTF-8
>
> svn --username anon --password anon co
> http://macromates.com/svn/Bundles/trunk ./
>
> )
>
>
> Does the application Pipe help you do something like automating this
> into a little macro? Or is there a more direct way?
>
> Thanks very much for the help -
> Jim
Just write a shell script:
#!/bin/sh
cd /Library/Application\ Support/TextMate && \
LC_CTYPE=en_US.UTF-8 svn --username anon --password anon \
co http://macromates.com/svn/Bundles/trunk ./
Then make the script executable:
% chmod u+x <script filename>
Then execute it!
HTH,
Michael Irwin
More information about the textmate
mailing list