問題タブ [shelljs]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
shelljs - ディレクトリ内のファイルの名前を変更する (Shelljs)
ファイルの名前を同じディレクトリに変更するにはどうすればよいですか?
これを実行すると、次のエラーが発生します。
shell.cp('-R', './../../config/test.txt', './../../config/test1.txt');
- cp: dest はディレクトリではありません (ソースが多すぎます)
ドキュメントを読みましたが、どれも私の質問に答えていません。
助けてくれてありがとう。
node.js - Node-Cron を使用して Node で JS ファイルを実行する
node-cron と shelljs を使用してノードで js ファイルを実行するタスクを設定しようとしています。これを正しく設定していますか?