cloud-link
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 foldersUSAGEcloud-link <command> [options]COMMANDSadd <name> [src] <dest> Add a new linkapply [names...] Apply all existing linksclean Delete all configured linksclear Clear the path to cloud folderinfo Print the cloud link configurationinit <path> Set the path to the cloud folderinitialized Check if this computer was initializedlist List configured linksremove <name> Remove a linkstatus [names...] Show the link status of configured linkshelp <command> Display help for a specific commandGLOBAL 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