views:

165

answers:

1

I am thoroughly in love with Textmate. I program everything in it, including ASP.Net for my daily job. However, I have a license for Espresso and I was looking at it recently and discovered that there is a "Publish" section that I knew about before, but I didn't know that it could compare my FTP directory with my local directory and publish only the changed files. Over the past week I've been finding myself using Espresso just for that functionality, however, I was hoping someone out there could let me know whether there is a way to get this functionality inside Textmate. I know that you could use an Apple Script with Cyberduck (my FTP client) to upload a file when it changes, but I have never got that working and it also doesn't include the ability to merge files like Espresso does.

Am I plumb out of luck? Am I stuck using two different programs for the forseeable future?

+1  A: 

I haven't tried it, but you should be able to set up a simple rsync command in a bundle in TM that will use environment variables from your project to sync.

See http://enure.net/post/article/using-rsync-to-enable-the-project-drawer-in-textmate-while-working-on-a-remote-server for an example.

Steve Losh