Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect hidden flag in Windows #752

Closed
meain opened this issue Oct 13, 2022 · 2 comments · Fixed by #766
Closed

Respect hidden flag in Windows #752

meain opened this issue Oct 13, 2022 · 2 comments · Fixed by #766
Labels
good first issue Good for newcomers kind/feature New feature request os/windows

Comments

@meain
Copy link
Member

meain commented Oct 13, 2022

Unlike *nix systems, windows uses a separate flag to mark a file as hidden. We can make lsd ignore them when not using -a or -A.

Previous discussion in #712

@zwpaper
Copy link
Member

zwpaper commented Oct 14, 2022

Ref: BurntSushi/winapi-util@16385cb

@zwpaper zwpaper added the good first issue Good for newcomers label Oct 14, 2022
@zwpaper
Copy link
Member

zwpaper commented Oct 15, 2022

    Oh by the way, windows has 2 different kinds of hidden files.  There's normal hidden files and operating system protected files.  Those NTUSER.dat files are the second kind.  The user almost never has to interact with OS protected files, I've never done so once in my 10 years or so of using Windows.  I would suggest making a dedicated command line flag to show OS protected files, and normal hidden files can be shown with just -a or -A.

Originally posted by @OldWorldOrdr in #712 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/feature New feature request os/windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants