Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2006 16:42:46 -0700
From:      Gary Kline <kline@tao.thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   getfiletime() and setfiletime()
Message-ID:  <20060421234246.GA42445@thought.org>

next in thread | raw e-mail | index | archive | help
	For my fellow hackers only,

	With all the billions-and-billions of lines of C hacked 
	by people reading this, do any of you have the functions that
	would get and save-away the stat mtime, then be able to 
	set the original mtime of the file to what it was?  

	I am getting back to working on a programm that cleans away
	embedded html, jpg, and other non ASCII (or 8859-1) and leaves 
	just-plain-text.  This from my ~/Mail/* files.  Ideally, I
	would like to set the timestamp of each file to what it was.
	So before I re-invent wheels, I thought I'd ask the list.

	Anybody?

	tia, people,

	gary


-- 
   Gary Kline     kline@thought.org   www.thought.org     Public service Unix




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060421234246.GA42445>