bmv
v1.0.4
Published
Move a batch of files/directories to different destinations
Downloads
3
Maintainers
Readme
bmv (batch mv)
Moves a batch of files/directories to different destinations.
Example
const bmv = require("bmv");
bmv.move([
// move to a different directory
['test.md', 'testing/test.md'],
// move back
['test1.md', '../test1.md'],
// move a directory
['test', 'testing/test']
]);
API
#### move( array[ [sourceFile, destFile] ] )
Params: array
Pass through an array of move tasks, which hold both a sourceFile
as the first item, then a destFile
as the last item.
bmv.move([
['test1.md', '../test1.md']
]);