epoch - Displays the raw epoch time of the last modification for the named files


  epoch [options] <filenames>


The epoch command displays the raw epoch times of the last-modification time for the named files and directories.

If no files are given on the command line, then the contents of the current directory will be listed.

If a directory is given on the command line, then its contents will be listed. Normally, epoch will not list files whose names begin with a dot (.) when listing a directory. This may be overridden with the -a option.

epoch follows the behavior of ls in following symbolic links. Options allow control of this behavior.

Output is always one line per row.


The following options are handled by epoch:


List directory entries whose names begin with a dot, as well as other entries.


Directories are displayed as regular files; their contents are not displayed.


Symbolic links on the command line are followed. This is the default behavior.


If a command-line argument is a symbolic link, the link itself will be listed rather than the node the link references. This option cancels the -H option, reverting symbolic-link behavior to the default.


Displays a usage message.


Copyright 2013 Wayne Morrison

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Wayne Morrison,