There are three type of times usually associated with a file. 1) Last File modification time 2) Last File access time 3) Last Inode Modification time. It seems like the first two times can be pre-dated by using the touch command. ## pre-Dating to 31-Jan-2006 touch -c -t 01311200.00 core
Is there any known way to pre-date the "inode modification time"? Thanks, Arijit vgamd129> touch -c -t 01311200.00 core vgamd129> perl -e '$var = time; print $var;' 1144239161 vgamd129> perl -e '$var = (stat("/remote/vtghome7/arijit/core"))[8]; print "$var\n";' 1138737600 vgamd129> ls -lta core -rw------- 1 arijit src 782336 2006-01-31 12:00 core vgamd129> perl -e '$var = (stat("/remote/vtghome7/arijit/core"))[9]; print
"$var\n";' 1138737600 ## Note that the "inode modification time" couldn't be pre-dated vgamd129> perl -e '$var = (stat("/remote/vtghome7/arijit/core"))[10]; print "$var\n";' 1144238657 vgamd129>
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |