chflags
The chflags utility modifies the file flags of the listed files as specified by the flags operand.
Author: demonduck Created: 2024-07-25
Paths
/usr/bin/chflags Example Use Cases
Hide a file #
Add the hidden flag to a file or directory to prevent it from being visible in Finder and Terminal.
chflags hidden ~/evil