hf
hf is a cross-platform hidden file library and utility.
This crate supports both Unix and Windows. On Unix, hidden files and
directories are files and directories that starts with a dot character (.).
On Windows, hidden files and directories are files and directories with the
hidden file attribute. This crate provides operations related to hidden files
and directories, such as making files and directories invisible and visible.

Installation
From source
Via a package manager
From binaries
The release page contains pre-built binaries for Linux, macOS and Windows.
How to build
Please see BUILD.adoc.
Usage
Make files invisible
Don't actually hide anything, just show what would be done:
Actually hide files:
Make hidden files visible
Don't actually show anything, just show what would be done:
Actually show hidden files:
Generate shell completion
completion subcommand generates shell completions to standard output.
The following shells are supported:
bashelvishfishnushellpowershellzsh
Example:
Use as a library
This crate is also available as a library.
Run the following command in your project directory:
By default, the dependencies required to build the application are also built.
If you disable the default feature, only the dependencies required to build
the library will be built.
Documentation
See the documentation for more details.
Minimum supported Rust version
The minimum supported Rust version (MSRV) of this library is v1.85.0.
Command-line options
Please see the following:
Source code
The upstream repository is available at https://github.com/sorairolake/hf.git.
Changelog
Please see CHANGELOG.adoc.
Contributing
Please see CONTRIBUTING.adoc.
Home page
https://sorairolake.github.io/hf/
License
Copyright (C) 2022 Shun Sakai (see AUTHORS.adoc)
- This program is distributed under the terms of either the Apache License 2.0 or the MIT License.
- Some files are distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.