Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2009 16:06:45 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Dimitar Vassilev <dimitar.vassilev@gmail.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: touch madness
Message-ID:  <20091230150645.GA4718@current.Sisis.de>
In-Reply-To: <59adc1a0912300621r590a8216u77eb2c25b3494905@mail.gmail.com>
References:  <59adc1a0912300621r590a8216u77eb2c25b3494905@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, December 30, 2009 a las 04:21:38PM +0200, Dimitar Vassilev escribió:

> 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

guru@current:~> touch bla
guru@current:~> ls -l bla
-rw-r--r--  1 guru  wheel  0 30 dic 16:04 bla
guru@current:~> touch -A -000530 bla
guru@current:~> ls -l bla
-rw-r--r--  1 guru  wheel  0 30 dic 15:59 bla

HIH

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu



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