fs-movedir

1.0.1 • Public • Published

fs-movedir

Move a directory into another directory.

Usage

const movedir = require('fs-movedir');
 
movedir('Spain 2016', 'holiday pics');
// move 'Spain 2016' into 'holiday pics'
 
movedir('myproject', 'javascript projects');
// move 'myproject' into 'javascript'

This will create the target directory if it doesn't exist.

License

MIT

Dependents (1)

Package Sidebar

Install

npm i fs-movedir

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • jameskmonger