标签:
杂谈 |
分类: 工作 |
While the tripwire setup, no one wants the daily change reports become to the flood. So I have to figure out a way to generate the reports and save them to the local drive. The Tripwire has a utility can do this but it only save to one file and it will always replace the old report with the new one. Thus, I need to put a time stamp on each reports and keep all of them in track. What I did is I used a strength as below to solve the issue.
echo “%date:~6,4%-%date:~3,2%-%date:~0,2%”
2010-04-13
And report come to this way: Report_2010-04-13.pdf
PS: && in the command line means break or change line.

加载中…