Crates.io | poke |
lib.rs | poke |
version | 0.1.3 |
source | src |
created_at | 2022-02-17 00:17:01.793059 |
updated_at | 2022-03-02 02:03:02.431424 |
description | Inspired by the classic touch command. |
homepage | |
repository | https://github.com/neinteen/poke |
max_upload_size | |
id | 533671 |
size | 20,181 |
Inspired by the classic touch command.
Please take a look at the ROADMAP to understand more about what this project is going to be, and which features are currently working.
Thanks to all crates used for saving me a whole lot of time.
cargo install --force poke
USAGE:
poke.exe [OPTIONS] <FILES>...
ARGS:
<FILES>... the file(s) to be modified
OPTIONS:
-a
change only the access time
-b
delete given file(s)
-c, --no-create
if not found, don't create new file(s)
-d, --date <DATE>
use this date string instead of current time. The Supported formats are: "1/01/2001
00:00", "1 jan(uary) 2001 0am", "last friday 2pm" and so on. for more information:
https://crates.io/crates/chrono-english
-h, --help
Print help information
-m
change only the modification time
-r, --reference-file <REFERENCE_FILE>
use this files time, instead of current time
-V, --version
Print version information
The current version (0.1.3) is only tested on windows, but should support Linux/Mac OS. In the future I will test Linux builds in a vm.