From owner-freebsd-questions@FreeBSD.ORG Sun Dec 27 18:23:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A0A1065670 for ; Sun, 27 Dec 2009 18:23:26 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id B618C8FC13 for ; Sun, 27 Dec 2009 18:23:26 +0000 (UTC) Received: by pxi28 with SMTP id 28so6602395pxi.7 for ; Sun, 27 Dec 2009 10:23:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=2meGCVTD5H9NRDKoNIj3QEFR7aCsa7zttZTfgiD1Tow=; b=bgOni0tcAZ8xzg46nqXXa2L742bcFaXS1blzUnMFAHn5DP3/wwy+N3yvpFRvr7iDxe eE1jApGkhDZhlVBdJIqw3TNK73nPwDhHuA3fHbzSVI3qtOY6aQ+OTy78YQnQxh+mwZyE jn3cShisfooSLdsVSpaPO9X+FLkQ+yDy9A4jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=eRxao2F4VTnSx+xDt/hqPeQB8n0e15fwXwfQOsMK5XTh7DlUQMuYs6/bvAEm8Ro/jT zTDYhq2L9fL0WqtTy/4we82frFvLVHMM7/y+UqTD5bBUPpbr7Vmn7G1dlE66aDssoFiJ xeQ/ggVX4nkyshJ8CPMNFM8h/EfuAW2LDqAlI= MIME-Version: 1.0 Received: by 10.115.37.37 with SMTP id p37mr9987846waj.11.1261938193283; Sun, 27 Dec 2009 10:23:13 -0800 (PST) In-Reply-To: <20091227183605.7b129c82.freebsd@edvax.de> References: <20091227183605.7b129c82.freebsd@edvax.de> Date: Sun, 27 Dec 2009 13:23:12 -0500 Message-ID: From: Tsu-Fan Cheng To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: how to modify date after unrar files? 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: Sun, 27 Dec 2009 18:23:27 -0000 Yeah, and I found there is a switch: ts[N] Save or restore file time (modification, creation, access) but what is the [N] supposed to mean? thanks!! TFC On Sun, Dec 27, 2009 at 12:36 PM, Polytropon wrote: > On Sun, 27 Dec 2009 12:27:53 -0500, Tsu-Fan Cheng > wrote: > > Hi, > > I don't know how to modify the time of files after it's extracted by > > unrar, the extracted file has the time that it's created on the other > side, > > but I want it to have time/date on my side, thank you!! > > In order to change access / modification time, just > > % touch > > and they'll have the correct date and time. Use -m > for modification time. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >