[plug] Adjust a timestamp by a specified amount

Cameron Patrick cameron at patrick.wattle.id.au
Sun Nov 9 18:02:41 WST 2003


On Sun, Nov 09, 2003 at 05:56:52PM +0800, Bernd Felsche wrote:

| man stat
| 
| Which yields the not-entirely complete solution of
| 
| 	stat --format "touch -m -d \`expr %Y + 0$offset\` %n" * | sh

That's not going to work if the file name contains any quirky
characters, though.

Cameron.

_______________________________________________
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