0.9.4 • Published 2 years ago

mv_rm v0.9.4

Weekly downloads
5
License
MIT
Repository
github
Last release
2 years ago

mv_rm

Moves files to a new folder and deletes the old folder afterwards

How to use:

const mv_rm = require("mv_rm");
mv_rm("/path/old/", "/path/new", { //       set the old path and the new path
  permissions: "0755", //                   sets new folder permissions **default 0755**
  file_permissions: "0777", //              sets new file permissions **default 0644**
  files: ["this.jpg", "that.png"], //       get only these files (if this is empty then it will move all the files from the folder) **default []**
  folders: true //                          moves files with folders recursively **default false**
});
0.9.4

2 years ago

0.9.3

4 years ago

0.9.2

5 years ago

0.9.1

5 years ago