Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

modify file modified time linux

touch -a filename	# change access time
touch -m filename	# change modification time
touch -am filename	# change both access and modification times

stat filename		# check new file properties
 
PREVIOUS NEXT
Tagged: #modify #file #modified #time #linux
ADD COMMENT
Topic
Name
6+3 =