Have ideas to improve npm?Join in the discussion! »

clean-dropbox-conflicted

0.0.8 • Public • Published

Clean Dropbox Conflicted

Recursively renames conflicted Dropbox files to it's original file name and replaces old files if already exists.

Install

npm install clean-dropbox-conflicted -g

Usage

clean-dropbox-conflicted <directory>

Example

$ git clone https://github.com/miguelmota/clean-dropbox-conflicted.git
cd clean-dropbox-conflicted/
$ tree example/
 
example/
├── foo(MiguelMota's\ conflicted\ copy\ 2014-06-17).txt
├── foo.txt
└── sub
    ├── bar\ (Miguel\ Mota'sconflictedcopy2014-06-17).txt
        └── bar.txt
 
        1 directory, 4 files
$ clean-dropbox-conflicted example/
 
/example/foo (Miguel Mota's conflicted copy 2014-06-17).txt => /example/foo.txt
/example/sub/bar (Miguel Mota's conflicted copy 2014-06-17).txt => /example/sub/bar.txt
$ tree example/
 
example/
├── foo.txt
└── sub
    └── bar.txt
 
    1 directory, 2 files

Test

nodeunit test/

License

Released under the MIT License.

Install

npm i clean-dropbox-conflicted

DownloadsWeekly Downloads

8

Version

0.0.8

License

MIT

Unpacked Size

8.08 kB

Total Files

13

Last publish

Collaborators

  • avatar