ctime

command module
v0.1.1-0...-a5daa34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2017 License: MIT Imports: 2 Imported by: 0

README

GoDoc

ctime

Ctime is meant to be a linux only inode event trigger. It will only update the ctime (to system time), allowing listeners to be notified, but not break certain text editors where the file may be open.

ctime's results are similar to touch -cr file file where no new file is created, and the atime and mtime remain "unmodified."

Usage

Running is as simple as specifying a single file:

ctime /path/to/file

Multiple files may also be specified:

ctime file1 file2 file3 file4

Documentation

Overview

Ctime is meant to be a linux only inode event trigger. It will update the ctime only (to current time), allowing listeners to be notified, but not break certain text editors where the file may be open.

ctime's results are similar to `touch -cr file file` where no new file is created, and the atime and mtime remain "unmodified."

Usage

Running is as simple as specifying a single file:

ctime /path/to/file

Multiple files may also be specified:

ctime file1 file2 file3 file4

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL