not-sync-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

not-sync-cli

Disable synchronization for some files in cloud storage such as Dropbox, iCloudDrive or OneDrive. Detects cloud storage provider.

Synopsis

Disable synchronization for node_modules, dist, coverage.

$ not-sync node_modules dist coverage

Re-enable synchronization for node_modules, dist, coverage.

$ resync node_modules dist coverage

Details

Please see not-sync for details.

not-sync

       USAGE

  $ not-sync [options] <path>...

     ARGUMENTS

  <path>... Path or list of paths (separate with space) to disable syncronization for.

      OPTIONS

     --cwd                           Set current working directory for relative paths.
  -i --ignoreConfigs                 (CSV) List of ignore files to update (e.g. .gitignore, .prettierignore).
     --dry                           Prevent changes to be written to disk. Executes a dry run.
  -v --verbose                       Output extra information.
  -l --linkSameDir   (Default: true) Move files near original file for iCloudDrive. For example 'dist' is moved 'dist.nosync' in same directory.
     --help                          Show help.
     --version                       Show version.

      EXAMPLES

  $ not-sync --i .gitignore node_modules dist coverage

resync

       USAGE

  $ resync [options] <path>...

     ARGUMENTS

  <path>... Path or list of paths (separate with space) to re-enable syncronization for.

      OPTIONS

     --cwd            Set current working directory for relative paths.
  -i --ignoreConfigs  (CSV) List of ignore files to update (e.g. .gitignore, .prettierignore).
     --dry            Prevent changes to be written to disk. Executes a dry run.
  -v --verbose        Output extra information.
     --help           Show help.
     --version        Show version.

      EXAMPLES

  $ resync --i .gitignore node_modules dist coverage

Related

not-sync: API for this CLI.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i not-sync-cli

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

144 kB

Total Files

40

Last publish

Collaborators

  • ozum