Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7978

Re: Extract "Last checked" from extX filesystem

Message-ID <2022922.2QjsCcLD0n@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-04-25 16:33 +0200
Subject Re: Extract "Last checked" from extX filesystem
Newsgroups comp.os.linux.misc
References <lqli8a8eyh.fsf@pia.msmri.medicine.ubc.ca>

Show all headers | View raw


Vilmos Soti wrote:

> 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.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Extract "Last checked" from extX filesystem Vilmos Soti <vilmos@soti.ca> - 2013-04-22 13:53 -0700
  Re: Extract "Last checked" from extX filesystem Bit Twister <BitTwister@mouse-potato.com> - 2013-04-22 21:53 +0000
    Re: Extract "Last checked" from extX filesystem "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2013-04-22 18:11 -0400
      Re: Extract "Last checked" from extX filesystem Bit Twister <BitTwister@mouse-potato.com> - 2013-04-22 22:35 +0000
        Re: Extract "Last checked" from extX filesystem "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2013-04-23 03:31 -0400
          Re: Extract "Last checked" from extX filesystem gazelle@shell.xmission.com (Kenny McCormack) - 2013-04-23 08:29 +0000
            Re: Extract "Last checked" from extX filesystem Bit Twister <BitTwister@mouse-potato.com> - 2013-04-23 12:19 +0000
          Re: Extract "Last checked" from extX filesystem Bit Twister <BitTwister@mouse-potato.com> - 2013-04-23 12:01 +0000
  Re: Extract "Last checked" from extX filesystem J G Miller <miller@yoyo.ORG> - 2013-04-22 21:55 +0000
    Re: Extract "Last checked" from extX filesystem Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-23 18:55 +0100
      Re: Extract "Last checked" from extX filesystem J G Miller <miller@yoyo.ORG> - 2013-04-23 19:23 +0000
        Re: Extract "Last checked" from extX filesystem Robert Riches <spamtrap42@jacob21819.net> - 2013-04-24 04:18 +0000
        Re: Extract "Last checked" from extX filesystem Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-24 08:53 +0100
  Re: Extract "Last checked" from extX filesystem Vilmos Soti <vilmos@soti.ca> - 2013-04-23 13:21 -0700
    Re: Extract "Last checked" from extX filesystem Bit Twister <BitTwister@mouse-potato.com> - 2013-04-23 21:25 +0000
  Re: Extract "Last checked" from extX filesystem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-25 16:33 +0200

csiph-web