[plug] Adjust a timestamp by a specified amount

Bernd Felsche bernie at innovative.iinet.net.au
Mon Nov 10 09:32:39 WST 2003


On Mon, Nov 10, 2003 at 09:21:34AM +0800, James Devenish wrote:
> In message <20031110011524.GA6659 at pinion.innovative.iinet.net.au>
> on Mon, Nov 10, 2003 at 09:15:24AM +0800, Bernd Felsche wrote:
> >  	stat --format "touch -m -d \`expr %Y + 0$offset\` '%n'" * | sh
> > 
> > then. Just your basic shell quoting stuff
> 
> On face value, it doesn't look to me that the quotation marks would
> solve the problem. But regardless of that...I can guess that `stat`
> comes from GNU coreutils, but I don't know what version of `touch` you
> are using. I don't have access to any GNU versions that will accept a
> seconds-since-epoch timestamp.

UTSL or convert timestamps by other means.

I stated that it was an incomplete solution.

-- 
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | I'm a .signature virus!
 X   against HTML mail     | Copy me into your ~/.signature
/ \  and postings          | to help me spread!
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list