Open sandenbergmelo opened 10 months ago
Do you know you can hide file by putting a dot in front ?
Do you know you can hide file by putting a dot in front ?
Yes, I do. But there are many softwares that use files and directories with specific names to save settings. An example of this is ventoy which creates bootable USB drive. It would be nice to have the option for these files not to be shown as well as hidden files with a dot in front.
Do you know of any documentation showing what expressions can be used in the .hidden file?
Do you know of any documentation showing what expressions can be used in the .hidden file?
No. I only use it for simple things with explicit filenames. But I found this. Maybe it will be useful: https://itsfoss.com/hide-files-folders-linux/#bonus-tip-hide-files-and-folders-without-renaming-them-works-in-gui-only-
At least in the beginning it was just a filename per line. Don't know about now.
I will have a look and think on how and will we implement it.
I personally think this should not be on by default. And it should be a flag for enabling it. And if it is on by default there should be a separate flag from -a
to just show the hidden files from .hidden
If we decide to implement this as an option we will need to wait for #197 for the moment I will take a look in the code and at how the .hidden
file work
If we decide to implement this as an option we will need to wait for #197 for the moment I will take a look in the code and at how the
.hidden
file work
Do I get you right that it's a non default option?
yes not a default option and it is to be talked about.
I think ripgrep respects .ignore
as well.
I thought that they were what .hidden
seems to be.
Does nautilus respect .ignore
files?
Do you know of any documentation showing what expressions can be used in the .hidden file?
I figured it would use what .gitignore
allows.
I would like this for macOS for a few reasons:
chflags
. Files starting with a '.' are also hidden. The chflag hidden files show up in the terminal (not hidden)eza -a
. I'd love to hide them on a deeper level.Having 2 levels of hidden would be great for organization. You could either extend the difference between -a and -A or make -V "verbose all" where it really shows everything. Or at the very least make it treat +hidden flag as hidden.
Having 2 levels of hidden would be great for organization. You could either extend the difference between -a and -A or make -V "verbose all" where it really shows everything. Or at the very least make it treat +hidden flag as hidden.
so basically -V
would be ignore nothing if i understood correctly ?
Apologies for the uninformed drive-by, but the counterpoint would be that having 2 levels of hidden would be great for totally confusing users.
Apologies for the uninformed drive-by, but the counterpoint would be that having 2 levels of hidden would be great for totally confusing users.
You got a really good point here indeed, and btw no need to apology this is an open discussion :smile:
Files listed in the '.hidden' file are not shown by default in file explorers, such as nautilus, unless you enable showing hidden files:
But eza always shows these files:
It would be nice if eza only showed these files with the -a,--all option enabled.