ML

ft

ft; V 3; 2011-11-23; printing file last modification time

Synopsis and description

ft [[--format=format] file]...

The ft utility prints file's last modification time to standard output. Multiple files and multiple formats may be specified.

The standard ISO-8601 date format is used (Dow, DD Mon YYYY HH:MM:SS +TZ), if none was specified.

Downloading and compiling

Source code and manual pages: Requirements: Compiling and installing:
gcc -Wall -s -o/usr/local/bin/ft ft.c -larguments

Examples

$ ft /var/lock/
Wed, 07 Jan 2009 17:18:06 +0000
$
$ ft -f $'users: %Y-%m-%d ' /etc/passwd -f $'groups: %Y-%m-%d\n' /etc/group
users: 2007-10-07 groups: 2007-10-07
$