[plug] Adjust a timestamp by a specified amount

James Devenish devenish at guild.uwa.edu.au
Mon Nov 10 09:21:34 WST 2003


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.


_______________________________________________
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