touch-cli

Crates.iotouch-cli
lib.rstouch-cli
version1.0.0
sourcesrc
created_at2024-06-28 20:46:28.333772
updated_at2024-07-13 19:47:45.421818
descriptionFast, Parallelized touch(1) utility
homepagehttps://gitlab.com/hsn10/touch-rs
repositoryhttps://gitlab.com/hsn10/touch-rs.git
max_upload_size
id1287015
size19,012
Radim Kolar (hsn10)

documentation

README

FAST touch(1) utility for CI jobs

MIT/Apache License Lines of code Crates.io Downloads

Rust rewrite of classic POSIX touch(1) utility for changing file timestamps. See manpage of GNU coreutils version. Works natively on Windows and Unix.

This performance version uses tokio for processing multiple files concurrently which gives it major speedups especially when working on network attached drives. This makes it very suitable for use in CI jobs because you are billed per second.

It uses glob format from glob crate. Recursive touch is possible.

Command Line parameters

Glob patterns and following options are supported as command line arguments. Program uses getopt3 for options parsing, which have support for some extended parsing features such as grouping of options.

  1. -c do not create any files
  2. -a change only the access time
  3. -m change only the modification time
  4. -f ignored
  5. -v output version and exit
Commit count: 64

cargo fmt