由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to change time of file
相关主题
How to pull out the last change.[转载] 谁有 B-Tree ( disk access ) 的参考code?
[转载] .SO no symbol?[转载] anybody give me a rootkit?
[转载] 谁试过用自己的smtp 发信?Re: 为什么emacs自动给我加^M.
[转载] Windows (2000/NT) 下如何设置 passwordless SSH accRe: Where to download MP3 player for UNIX?
[转载] guplot 怎么设置default?Re: unix下怎么把一个大文件分成若干个小文件?
[转载] 怎样在windows下面批处理一些任务?怎样写 makefile
[转载] 谁用过CJK?一个计算机学术网站
[转载] Convert (imagemagick ) how to control dpi? (pdf -Re: 菜鸟问题:UNIX下怎么改文件的日期?
相关话题的讨论汇总
话题: file话题: time话题: change话题: unix话题: utime
进入Unix版参与讨论
1 (共1页)
a**n
发帖数: 313
1
say, if the file is created now, I want to change the
time to 1 month ago in unix.
How?
su
发帖数: 149
2
There is a "utime" system call that can do this.

【在 a**n 的大作中提到】
: say, if the file is created now, I want to change the
: time to 1 month ago in unix.
: How?

su
发帖数: 149
3
There is a "utime" system call that can do this.

【在 a**n 的大作中提到】
: say, if the file is created now, I want to change the
: time to 1 month ago in unix.
: How?

j***y
发帖数: 87
4
just use 'touch'.

【在 a**n 的大作中提到】
: say, if the file is created now, I want to change the
: time to 1 month ago in unix.
: How?

a*****i
发帖数: 4391
5
no, you can't change the creation time of a file in UNIX. It is not even
recorded in file stats anyhow.

【在 a**n 的大作中提到】
: say, if the file is created now, I want to change the
: time to 1 month ago in unix.
: How?

j***y
发帖数: 87
6
It's true that no creation time is recorded to any file under UNIX. But I
think what he's talking about should be change time or modify time.

【在 a*****i 的大作中提到】
: no, you can't change the creation time of a file in UNIX. It is not even
: recorded in file stats anyhow.

1 (共1页)
进入Unix版参与讨论
相关主题
Re: 菜鸟问题:UNIX下怎么改文件的日期?[转载] guplot 怎么设置default?
coconut 申请 unix BZ[转载] 怎样在windows下面批处理一些任务?
请问在UNIX中该如何设screensaver[转载] 谁用过CJK?
Unix下怎么解加密的.zip文件?[转载] Convert (imagemagick ) how to control dpi? (pdf -
How to pull out the last change.[转载] 谁有 B-Tree ( disk access ) 的参考code?
[转载] .SO no symbol?[转载] anybody give me a rootkit?
[转载] 谁试过用自己的smtp 发信?Re: 为什么emacs自动给我加^M.
[转载] Windows (2000/NT) 下如何设置 passwordless SSH accRe: Where to download MP3 player for UNIX?
相关话题的讨论汇总
话题: file话题: time话题: change话题: unix话题: utime