From owner-freebsd-questions@FreeBSD.ORG Wed Dec 30 15:11:34 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9FF5106566C for ; Wed, 30 Dec 2009 15:11:34 +0000 (UTC) (envelope-from dimitar.vassilev@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 55DC58FC1E for ; Wed, 30 Dec 2009 15:11:34 +0000 (UTC) Received: by ewy26 with SMTP id 26so9451066ewy.3 for ; Wed, 30 Dec 2009 07:11:28 -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=0DYFjrd5hIWv5bAV4CRU48LhxBQp7ysLeSgnxzQJwn8=; b=eFpb/Rl+Nq8qu0q2R6x1N1+WY6MMdF+wIZv2LTNfydW4m6AzZ549KYE3vNLo1gEhlq RfDjPaQ7G/i2ZupvJblsy1deuwojQdhwUm1wobo+OkZgjhFnoD2E9XcuV1YrMpSHnC0O /Y9JAlolNsXgpiJiE7prhw7bnkNjQz66943Aw= 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=s0zDYLGA2EQFi3rRu3EmCMVXpAQu8JLfULNOPIDiH8U+j4lowCj1WXyluvJ2UJnCh4 zS2vZPEc7X7r7/fyDMXfkSgDGFBczkxKVCrx/zZ3iWs6jDN1PWiFnt/F/iQd9gcjbcJz yG49PwJEoDC09twM0kuG9D7EzBt16/ihxP4Vg= MIME-Version: 1.0 Received: by 10.213.1.199 with SMTP id 7mr15739829ebg.23.1262185886256; Wed, 30 Dec 2009 07:11:26 -0800 (PST) In-Reply-To: <4B3B6D17.80200@pchotshots.com> References: <59adc1a0912300621r590a8216u77eb2c25b3494905@mail.gmail.com> <4B3B6D17.80200@pchotshots.com> Date: Wed, 30 Dec 2009 17:11:26 +0200 Message-ID: <59adc1a0912300711y2f9f1df7k3d4975d44e0fddd9@mail.gmail.com> From: Dimitar Vassilev To: Brad Mettee Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: touch madness 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: Wed, 30 Dec 2009 15:11:34 -0000 2009/12/30 Brad Mettee > Based on the man page for touch, it doesn't use the d/m/s flags. > > Your line should be > > touch -A -000430 filename.here > > Which would be subtract 0 hours, 4 minutes and 30 seconds from current time > of the file. I created test file, checked time of it, subtracted N minutes > to make it even to the hour and it worked as described. > > Dimitar Vassilev wrote: > >> Hi, >> I'm trying to find the match for touch -d now-5minutes+30seconds under >> freebsd. >> Got a munin plugin that i'd like to change without installing the emulator >> port. >> I have touch -A, however when i pass touch -A -00d04m30s i don't get >> anything as a file. >> Can someone give the exact syntax if possible. >> Thanks and all the best. >> Dimitar >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> > > -- > Brad Mettee > PC HotShots, Inc. > Baltimore, MD > (410) 426-7617 > -> Let us bring out the **Power** of your PCs. <- > -> Custom Business Software Solutions since 1991 <- > Visit us for information about our company. > thanks to all - tried with inserting measure units hours minutes and so on 1st time. Without them it works