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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"


--
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 <http://www.pchotshots.com> for information about our company.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to