20 Star 125 Fork 112

野火IM/vue-pc-chat

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
copydir.js 551 Bytes
一键复制 编辑 原始数据 按行查看 历史
armXyz 提交于 2021-01-18 11:00 +08:00 . update build script and etc.
#!/usr/bin/env node
const argv = process.argv
if (argv.length <= 3) {
console.log('Usage: node copydir.js from to')
return
}
const fromParam = argv[2]
const toParam = argv[3]
console.log("Try copy " + fromParam + " to " + toParam + "\n\n")
var copydir = require('copy-dir');
copydir.sync(fromParam, toParam, {
utimes: true, // keep add time and modify time
mode: true, // keep file mode
cover: true // cover file when exists, default is true
});
process.stdout.write(' Copied ' + fromParam + ' to the ' + toParam + ' \n\n');
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wfchat/vue-pc-chat.git
git@gitee.com:wfchat/vue-pc-chat.git
wfchat
vue-pc-chat
vue-pc-chat
master

搜索帮助