Site icon 咖啡偶-IT日常

Linux如何變更檔案日期

touch -a -m -t 201512180130.09 fileName

-a = accessed
-m = modified
-t = timestamp - YYMMDDhhmm.ss time format

Exit mobile version