From owner-freebsd-questions@FreeBSD.ORG Sat Apr 22 06:04:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 308FD16A401 for ; Sat, 22 Apr 2006 06:04:43 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 653FC43D48 for ; Sat, 22 Apr 2006 06:04:42 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.4/8.13.1) with ESMTP id k3M64aa1043917; Fri, 21 Apr 2006 23:04:37 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.4/8.13.1/Submit) id k3M64ZMj043916; Fri, 21 Apr 2006 23:04:35 -0700 (PDT) (envelope-from kline) Date: Fri, 21 Apr 2006 23:04:35 -0700 From: Gary Kline To: Dan Nelson Message-ID: <20060422060435.GB43775@thought.org> References: <20060421234246.GA42445@thought.org> <20060422031204.GD73063@dan.emsphone.com> <20060422042741.GA43461@thought.org> <20060422055616.GE73063@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060422055616.GE73063@dan.emsphone.com> User-Agent: Mutt/1.4.2.1i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 19+ years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: getfiletime() and setfiletime() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 06:04:43 -0000 On Sat, Apr 22, 2006 at 12:56:16AM -0500, Dan Nelson wrote: > In the last episode (Apr 21), Gary Kline said: > > > You can use mtree to do this. > > > > How, exactly? In ~/Mail are scores of files dating from 1991; for > > the most part this Content-Type = "text/html" for rough example only > > began in the late 90's. But there are scads of them. I'm looking at > > pulling some of the guts from cp (copy -p that preserves the > > time-stamp [and more]). If mtree is an easier route, then great. > > How would I run this file > > > > -rw------- 1 kline wheel 306870 Dec 22 2004 ebay.com > > > > thru my filter and have wind up with its original timestamp. > > $ mtree -c -k time -p ~/Mail > mail.times > > $ run filter > > $ mtree -U -p ~/Mail < mail.times > Yup; your trick does it all; thankee!! -- Gary Kline kline@thought.org www.thought.org Public service Unix