• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atomic-sync

Sync files bidirectionally between remote host and local over ssh+rsync (forked from atom-sync, patches applied)
  • #sync
  • #ssh
  • #rsync
  • #remote
atymchuk
0.6.4 3,766
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atomic-sync package

atomic-sync is an Atom package to sync files bidirectionally between remote host and local over ssh+rsync. It has been forked from dingjie/atom-sync. Inspired by Sublime SFTP.

This package is currently in early development and has only been tested on Mac. Please kindly try it out and provide feedback.

Features

  • Sync over ssh+rsync — still secure, but much faster.
  • Multi-Folder Projects with different sync config files supported

Prerequisite

  • Ensure you have ssh and rsync installed.

Quick Start

  • Open a project folder to sync in Atom.
  • Right click on the project folder and select Sync -> Edit Remote Config.
  • Edit and save the config file.
  • Right click on the project folder and select Sync -> Sync Remote -> Local.
  • Watch water flows.

Notice

  • Password based login is not supported—at least yet, you have to assign your key file and better host name in .ssh/config in advanced. Try to Simplify Your Life With an SSH Config File.

Config File

.sync-config.cson

remote:
    host: "HOSTNAME"        # server name or ip or ssh host abbr in .ssh/config
    user: "USERNAME"        # ssh username
    path: "REMOTE_DIR"      # e.g. /home/someone/somewhere
    port: "PORT_NUM"        # optional; defaults to 22

behaviour:
    uploadOnSave: true      # Upload every time you save a file
    syncDownOnOpen: true    # Download every time you open a file
    forgetConsole: false    # Never show console panel even while syncing
    autoHideConsole: true   # Hide console automatically after 1.5s
    alwaysSyncAll: false    # Sync all files and folders under the project \
                            # instead of syncing single file or folder
option:
    deleteFiles: true       # Delete files during syncing
    exclude: [              # Excluding patterns
        '.sync-config.cson'
        '.git'
        'node_modules'
        'tmp'
        'vendor'
    ]

Keybindings

  • ctrl+alt+l Toggle log window

Known Problems

  • You have to Sync Local -> Remote manually after renaming and deleteing files.

Roadmap

  • Refactoring
  • ConsoleView::clean() and btnClean
  • --list-only and confirm dialogue
  • Listen to events
    • Create folders
    • Rename files/folders
    • What about deleting?
  • SSH parameters in config file e.g. public key et al.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by