Table of Contents
 
ftsm - simple file timestamp manager 
ftsm [-M] [-d depth] directory
[directory] 
ftsm [-M] 
 
In its first form ftsm prints one line for every file found
recursive in the given directory or directories. The line consist of the
file’s mod time as unix timestamp (seconds since epoch), a space and the
relative path to the file. 
In its second form it recovers file timestamps by reading lines in this
format from stdin. 
One primary goal of ftsm is saving the timestamps metadata into regular
files to save them for backups or versioning software like CVS, subversion,
git or mercurial. 
 
- -d depth 
- specify the max depth of directory recursion
 
- -M 
- Mercurial mode: timestamp and path are swapped 
  
ftsm src |fgrep
-v .svn >.timestamps; svn add .timestamps; svn ci
svn co; ftsm <.timestamps 
 
The maximum internal absolute pathname length is 16384 chars. 
Errors like "permission denied" are silently ignored. 
 
Frank Bergmann,
http://www.tuxad.com
 
Table of Contents