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

Option to ignore hidden files #629

Open
00dani opened this issue Dec 10, 2021 · 3 comments
Open

Option to ignore hidden files #629

00dani opened this issue Dec 10, 2021 · 3 comments

Comments

@00dani
Copy link

00dani commented Dec 10, 2021

Goldleaf 0.9 always lists all "dotfiles", which can mean dramatically inflating the list of files when you connect to a Mac using Quark for example. The SD card on my Switch is also packed with dotfiles, annoyingly, since I set it up using a Mac as well. There doesn't seem to be a fast way to scroll through Goldleaf's lists a page at a time, making it much more fiddly to use Goldleaf than necessary.

I think this behaviour may be a regression, since I delved into the existing issues posted to this repo and found PR #94 that addressed the same problem? In that patch, Goldleaf was simply programmed to always skip over files that start with a dot. That fix should be okay for most users - however, these kinds of homebrew file browser applications often allow hidden files to optionally be displayed just in case, so it may be a good idea to provide an option in Goldleaf that allows the user to show or hide hidden files as suits their needs.

@Masamune3210
Copy link

Should probably use dotclean on your sd card before you eject it just in case, a lot of homebrew really don't like them, especially things like daybreak which expect to be able to verify that a folder contains the correct files and arent modified

@00dani
Copy link
Author

00dani commented Dec 12, 2021

Should probably use dotclean on your sd card before you eject it just in case

Oh cool! I wasn't aware of dot_clean, and that's a really helpful tool. 👍

However Goldleaf being able to skip over hidden files would still be valuable, at least for Quark usage. There are plenty of hidden files on my Mac that are actually supposed to be there and aren't just Apple nonsense.

@Masamune3210
Copy link

You should be able to point dotclean at a specific location if I'm not mistaken, but yeah the ability to ignore hidden files would be nice but probably low priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants