[TxMt] automate subversion checkout
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 -
Just write a shell script:
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!
More information about the textmate