Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <2022922.2QjsCcLD0n@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 25 Apr 2013 16:33:46 +0200 User-Agent: KNode/4.8.5 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 27 NNTP-Posting-Date: 25 Apr 2013 16:33:48 CEST NNTP-Posting-Host: 583082e8.newsspool1.arcor-online.net X-Trace: DXC=69Thnn5m1?2TQL:hoD@>T?ic==]BZ:af>4Fo<]lROoR1nkgeX?EC@@059mb1gI=;^9DZm8W4\YJN I would like to extract the "Last checked" field from > extX filesystems. > > The trick is that I need it in a form something like > "seconds since epoch" so I can easily test it > programmatically for any length of time. > > Unfortunately, dumpe2fs returns the field in a human > readable form, and I would like to avoid to convert > it to seconds. > > Is there a way to accomplish it? RTFM. man tune2fs man locale man awk man date -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.