Skip to content
This repository has been archived by the owner on Jul 22, 2018. It is now read-only.

itspriddle/rsync-tmbundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rsync TextMate bundle

Use this bundle to rsync your project directory with a remote host. Invoke via ⌃+⌘+r

Installation

% git clone git://github.com/itspriddle/rsync-tmbundle.git ~/Library/Application\ Support/TextMate/Bundles/rsync.tmbundle
% osascript -e 'tell app "TextMate" to reload bundles'

Configuration

Set configuration variables in Bundles > rsync > Configuration.

Optionally, you can add the following variables to your TM project (or they can be set globally):

$SSH_REMOTE_PATH (Required)
  The FULL system path to the remote directory to rsync to

$SSH_HOST (Required)
  The IP/hostname of the server you are rsyncing to

$SSH_KEY (Optional)
  The FULL system path to your public SSH key (eg:
  /Users/priddle/.ssh/id_rsa.pub.). If passed, rsync is run with
  `-i $SSH_KEY`

$SSH_USER (Optional)
  The username on the remove server. If not specified, ssh uses the
  local system's current user.

$RSYNC_OPTIONS (Optional)
  Any extra options to pass to rsync, such as --dry-run or --delete

$RSYNC_EXCLUDE_FROM (Optional)
  The FULL system path to an rsync exclude file if you wish to use one
  OR a path relative to your TM_PROJECT_DIRECTORY

Testing

Add --dry-run to rsync Options to run in testing mode.

About

NO LONGER MAINTAINED - rsync TextMate bundle

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages