-
Notifications
You must be signed in to change notification settings - Fork 486
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
Feature request: hide hidden files #140
Comments
Thanks for the idea! Unfortunately, there is no such thing as a "hidden file" as far as FUSE is concerned. Therefore, sshfs can't provide anything like it. |
How can windows explorer hide those files? |
Interesting idea. That would lead to other weird behavior though, like not being able to delete an apparently empty directory (because it contains files that sshfs hides). |
True, but it shouldn’t be a big issue. Deleting a folder means deleting folder and content these days, as it is in windows, and I have never used rmdir in linux, I always use rm -r.
Another reason for this feature, almost all mounting technologies in windows have some option to hide hidden linux files.
Yet another, many tools in linux have this option by default, such as /bin/ls.
…Sent from my iPhone
On 16 Sep 2018, at 2:36 PM, Nikolaus Rath ***@***.***> wrote:
Interesting idea. That would lead to other weird behavior though, like not being able to delete an apparently empty directory (because it contains files that sshfs hides).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That's actually exactly the problem :-). If you execute |
The filesystem could know about hidden files, only the sshfs readdir operacion could filter them, what do you think? |
Sorry, that doesn't make sense. SSHFS is the filesystem, and if readdir() filters out the files, then |
Is there a feature to hide hidden files? I am using sshfs cygwin to mount a remote linux storage, and I need to hide files that start with a dot. If not, any suggestion of what function to modify would be helpful. Thanks.
The text was updated successfully, but these errors were encountered: