bboard hyperpithole gate
(DIR) Menu
(DIR) Section <GOPHER>
(DIR) Forward
(DIR) Backward
Thread[.post]: 9.3
TACKER: jgw (jgw)
SUBJECT: .. edit gopher without topping the sdf list?
DATE: 25-Dec-24 21:13:50
HOST: rie
I *think* you can use stat(1) and touch(1) to reset the mtime of the
file in question so that it doesn't float to the top of the listing:
ex.
# get the modification time (mtime) of a file:
$ stat -f '%Sm' -t '%Y%m%d%H%M.%S' /tmp/foo
202412251410.13
# set the mtime of a file to 2016/07/26 , 23:27:00 :
$ touch -t 201607262327.00 /tmp/foo
$ stat -f '%Sm' -t '%Y%m%d%H%M.%S' /tmp/foo
201607262327.00
(continue)