Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.02 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.02 KB

scpp is an intelliJ idea external tool which helps to scp your local file to a linux server

Install

  1. Open IntelliJ idea

  2. Open menu :File -> Settings -> Tools -> External Tools

  3. Click add an external tool: config a tool

  4. As for Tool settings, program is the file sccp.sh and parameters are $FilePath$ and $FileExt$

  5. Add a properties file, scpp.properties, to your module root:

add props

scpp.properties

# upload destination
serverPath='your_ssh_user_name@your_ssh_server:/data/project/qn1-web-webapp/code'

Usage

Right click a js file in your project , choose menu : External Tools -> scpp. In the console it will print:

console

You can check the scp'ed file from linux server now.

Bonus

If you have node installed, you can use svn-commit-changelist.js to scp all files in scpp changelist to a linux server.