Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

miguelmota/clean-dropbox-conflicted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.