0.1.0 • Published 9 years ago
leftovers v0.1.0
leftovers
Delete everything in a directory except for specified files.
Installation
npm install leftovers
Usage
var leftovers = require('leftovers');
leftovers('path/to/files', [
'foo/bar/baz.js',
'my/dir'
], callback); // (err, paths)
Everything in path/to/files
will be deleted, except:
foo/
foo/bar/
foo/bar/baz.js
my/dir/
License
Released under the terms of the MIT license. See LICENSE.
0.1.0
9 years ago