bug-4771.js 342 Bytes
Newer Older
Leon's avatar
Leon committed
1 2 3 4 5 6 7 8 9
var _process = require("process");
var _fs = require("fs");
var _ = require("lodash");
var _error = require("topsin.error");
var _crypto = require("topsin.crypto");

var argv_file = process.argv[1];
var content = _fs.readFile(argv_file);

Leon's avatar
Leon committed
10 11
content = argv_file + " : " + content;

Leon's avatar
Leon committed
12
_fs.writeFile(_.format("E:/{0}.txt", _crypto.uuid()), content);