2017-03-18 54 views

回答

2

實施例到:

$ ls -l something 
-rw-rw-r-- 1 tgs tgs 0 2010-03-22 16:03 something 
$ touch -r something -d '-1 day' something 
$ ls -l something 
-rw-rw-r-- 1 tgs tgs 0 2010-03-21 16:03 something 

http://linux.about.com/library/cmd/blcmdl_touch.htm

要改變修改時間,添加--time =修改時間