0.0.8 • Published 4 years ago
clean-dropbox-conflicted v0.0.8
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\ (Miguel\ Mota's\ conflicted\ copy\ 2014-06-17).txt
├── foo.txt
└── sub
├── bar\ (Miguel\ Mota's\ conflicted\ copy\ 2014-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.