/etc/localtime的符号链接如下所示:... /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin这样做是可行的:reboot system boot 4.4.0-34-generic Thu Aug 25 02:12 still running
reboot system boot 4.4.0-34-generic Wed Aug 2
我有几个文件,其中文件名由日期组成。我想通过使用windows批处理文件将文件(filestamp)的日期和时间更改为文件名中的日期和时间。假设文件是2013-02-20.txt,我希望该文件在文件名中有一个与之对应的日期戳,因此设置为20130220,而时间戳可以设置为"00:00“。我将文件名中的年、月和日期提取到变量中,但是如何用这些日期和时间标记这些文件呢?
for %%f in (*.txt) d