NAME

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

SYNOPSIS

  epoch [options] <filenames>

DESCRIPTION

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.

OPTIONS

The following options are handled by epoch:

-a

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

-d

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

-H

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

-P

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.

-help

Displays a usage message.

LICENSE

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

     http://www.apache.org/licenses/LICENSE-2.0

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.

AUTHOR

Wayne Morrison, wayne@waynemorrison.com

SEE ALSO

ls(1)