文件操作 - package.json
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/optimist/package.json
编辑文件内容
{ "name" : "optimist", "version" : "0.6.1", "description" : "Light-weight option parsing with an argv hash. No optstrings attached.", "main" : "./index.js", "dependencies" : { "wordwrap" : "~0.0.2", "minimist" : "~0.0.1" }, "devDependencies" : { "hashish": "~0.0.4", "tap" : "~0.4.0" }, "scripts" : { "test" : "tap ./test/*.js" }, "repository" : { "type" : "git", "url" : "http://github.com/substack/node-optimist.git" }, "keywords" : [ "argument", "args", "option", "parser", "parsing", "cli", "command" ], "author" : { "name" : "James Halliday", "email" : "mail@substack.net", "url" : "http://substack.net" }, "license" : "MIT/X11", "engine" : { "node" : ">=0.4" } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件