[Navigation Bar]  
 
 

    

[OpenSUSE powered]
[BUSH powered]
[vi powered]
[XML] [RSS]

StatFTime TM
The Linux File Information Tool
 
[Download StatFTime] [Linux Cafe]

 > In a Nutshell
 
Project Type
Shell Utility
 
Current Version
1.0
 
Editions
GPL
 
  • Flexible string templates
  • Large number of attributes
  • Unique sequence feature
  • Pipe lists of files
  • Open Source
  • GPL Licenced
 
Chief Programmers
Ken O. Burtch
 
 
This is the home page for the StatFTime.


StatFTime is a Linux command line utility for looking up information about a file, including its size, inode and date last modified. Unlike similar tools like stat(1), statftime lets you format the results the way you would with the date(1) command.

Besides giving access to important file information to a shell script, another typical use for statftime would be to rename files for archiving purposes. If a business receives a file of customer orders called "orders.txt", it can create a unique archiving name such as "orders-2001-037.txt" using

statftime -f"%_a-%_C%Y-%f.txt" orders.txt

where "%_a" is the root filename, "%_C" selects the creation date, "%Y" is the creation date year, and "%f" is the creation date day of year. There are more than 50 supported "%" codes.

StatFTime can also process a list of files from standard input.

Install using the following commands:

$ tar xfvz statftime.tgz
$ cd statftime
$ make
$ cp statftime /usr/local/bin
 
     

« Truth Humility Communication Nobility Freedom Purity Excellence Right Support Courage Compassion Quality Honesty Trust Cooperation Challenge Education »
PegaSoft Canada - A Linux Association Since 1994