noamokman/cloud-link


automatically link cloud folders

License: MIT

Language: JavaScript


cloud-link Build Status Coverage Status

A cli tool to help create symlinks from your synced cloud directory to various locations

Common use cases:

  • config files
  • game saves
  • projects folder

Installation

As cli tool

$ [sudo] npm install cloud-link -g

Programmatically

$ [sudo] npm install cloud-link

Usage

CLI

Options

$  cloud-link 0.0.0 - automatically link cloud folders
     
   USAGE

     cloud-link <command> [options]

   COMMANDS

     add <name> [src] <dest>      Add a new link                          
     apply [names...]             Apply all existing links                
     clean                        Delete all configured links             
     clear                        Clear the path to cloud folder          
     info                         Print the cloud link configuration      
     init <path>                  Set the path to the cloud folder        
     initialized                  Check if this computer was initialized  
     list                         List configured links                   
     remove <name>                Remove a link                           
     status [names...]            Show the link status of configured links
     help <command>               Display help for a specific command     

   GLOBAL OPTIONS

     -h, --help         Display help                                      
     -V, --version      Display version                                   
     --no-color         Disable colors                                    
     --quiet            Quiet mode - only displays warn and error messages
     -v, --verbose      Verbose mode - will also output debug messages    

Synonym

This module is exported as cloud-link and as clink.

Getting started

First you need to indicate where your cloud folder is.

cloud-link init ~/Google Drive

Then add links with the add command

cloud-link add hyper .hyper.js ~/.hyper.js

This will create a symlink between the file in your cloud folder and the given destination

See all links with

cloud-link list

Disclaimer

Most actions overwrite files, so make sure that you provide the right path

License

MIT © Noam Okman

Project Statistics

Sourcerank 3
Repository Size 201 KB
Stars 0
Forks 1
Watchers 1
Open issues 0
Dependencies 797
Contributors 1
Tags 3
Created
Last updated
Last pushed

Top Contributors See all

Noam Okman

Packages Referencing this Repo

cloud-link
automatically link cloud folders
Latest release 2.0.0 - Updated

Recent Tags See all

v2.0.0 February 02, 2019
v1.0.1 January 18, 2018
v1.0.0 December 16, 2017

Something wrong with this page? Make a suggestion

Last synced: 2019-02-02 10:36:39 UTC

Login to resync this repository