这是一个创建于 3388 天前的主题,其中的信息可能已经有所发展或是发生改变。
文件在 NTFS 的移动硬盘里, txt 格式,其中某行是
tdef 1460 linear 00Z01jan1982 6h
然后修改为
tdef 1460 linear 00Z01jan1982 6hr
文本预览显示的内容是修改后的
但我在终端里使用"vim *****.txt",显示的是修改前的"*** 6h"。
PD 虚拟机装的是 WIN8.1
选择硬盘连接在 MAC 上,写字板打开,显示的是修改前的"*** 6h"。
选择把移动硬盘连接到虚拟机上,写字板打开,显示为修改后"*** 6hr"。
救命。
2 条回复 • 2015-11-15 12:05:13 +08:00
 |
|
1
hackpro 2015-11-15 10:36:24 +08:00 1
1. ls -l "*****.txt" check the modification time 2. might due to NTFS format as OS X does not support inherently. 3. check whether you have own right and save by vim successfully.
|
 |
|
2
katte 2015-11-15 12:05:13 +08:00 via iPhone
@ hackpro 谢谢,我把写文件的程序重跑了一遍,又正常了。
|