[TxMt] scp for TM?

Dave Grijalva grijalva at gmail.com
Wed Feb 7 22:17:10 UTC 2007


You should be able to do this fairly simply.  Assuming you're working within
a project, you should be able to set up a project specific environmental
variable that contains the remote path relative to the project.  Then it's
just a matter of constructing your command in the bundle editor.


-dave

On 2/7/07, s.ross <cwdinfo at gmail.com> wrote:
>
> I've hit on a development methodology where when I want to modify one
> file on a server quickly, I make the changes to my local copy, then
> scp it to the remote machine. That saves me the overhead and security
> problems of having an (S)FTP server running on my production box.
> Which brings me to the question:
>
> Is there some really easy way to build a command (or is there one
> already built) that will scp a file to a server relative to its
> location in a project? For example, if my DocumentRoot on the server
> is /var/www/myfinewebsite and I want to modify a file like includes/
> stupid_php_why_isnt_this_rails.php on my local machine, I'd like it
> to scp to uname at mydomain.com:/var/www/myfinewebsite/includes.
>
> Is this something someone else has done? Any thoughts about this
> practice?
>
> Thanks,
>
> Steve
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070207/3c51bd20/attachment.html>


More information about the textmate mailing list