hf-hide(1)
NAME
hf-hide - make files or directories invisible
DESCRIPTION
This command makes files or directories invisible.
On Unix, this command renames the file to start with .
. On Windows, this
command sets the hidden file attribute to the file.
When you run this command, you must specify either -f or -n. When -n is specified, it just shows what would be done. When -f is specified, it actually hide files.
OPTIONS
- --log-level LEVEL
The minimum log level to print.
- The possible values are:
- OFF
Lowest log level.
- ERROR
Error log level.
- WARN
Warn log level.
- INFO
Info log level. This is the default value.
- DEBUG
Debug log level.
- TRACE
Trace log level.
- -f, --force
Actually hide files or directories.
- -n, --dry-run
Don’t actually hide anything, just show what would be done.
- -h, --help
Print help message. The short flag (-h) will print a condensed help message while the long flag (--help) will print a detailed help message.
- -V, --version
Print version number. The long flag (--version) will also print the copyright notice, the license notice and where to report bugs.
EXIT STATUS
- 0
Successful program execution.
- 1
An error occurred.
- 2
An error occurred while parsing command-line arguments.
- 65
The input data was incorrect in some way.
- 66
An input file did not exist or was not readable.
- 71
An operating system error has been detected.
- 74
An error occurred while doing I/O on some file.
- 77
You did not have sufficient permission to perform the operation.
EXAMPLES
- Make the given file invisible:
$ hf hide -f data.txt
- Show what would be done:
$ hf hide -n Cargo.toml src/
COPYRIGHT
Copyright © 2022-2024 Shun Sakai
This program is distributed under the terms of either the Apache License 2.0 or the MIT License.
This manual page is distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.