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
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
On 09-09-2005 17:23, 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 ./
You do realize that once you've done an initial checkout you can just do "svn up" ? (Or use TextMate's subversion bundle to do that for you) Jeroen.