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

Extended options for hidden files #12220

Closed
cyberduck opened this issue Mar 14, 2006 · 2 comments
Closed

Extended options for hidden files #12220

cyberduck opened this issue Mar 14, 2006 · 2 comments
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

cfa3ec0 created the issue

The basic "show hidden files" option is great, but I often have cases where I'd like it to do more. For example:

  • I use some servers that are also accessed via AFP (e.g. Netatalk), which means they are full of ":2eDS_Store" files etc., always (annoyingly) visible because they aren't Unix dotfiles

  • I do Python web development, which means I have directories full of temporary *.pyc and *.pyo files that I almost never need to see or touch

  • In certain cases I'd like to see some dotfiles (.htaccess) and not others (.DAV)

Proposal: simple user-configurable file filtering.

TextMate offers this feature in its Project drawer. A single regex defines what files are included or omitted. This is a little hairy for some, but hey, you don't have to use the feature. I'm trying to suggest something that wouldn't be too much hassle to implement. A special GUI just for manipulating these rules would probably be overkill.

This filter preference could be kept as a global setting (in Preferences) and possibly as a bookmark-specific setting too.

A nice companion feature would be an indicator/toggle in the navigation bar or toolbar that indicates whether file filtering is on. This would be handy even with the current dotfile-only hiding -- sometimes you want to just quickly see (or hide) what's there.


Attachments

@cyberduck
Copy link
Collaborator Author

anonymous commented

Dreamweaver hasa similiar feature called "Cloaking". For example I keep create a lot of flash movies, by default when they are exported as a .swf file for the web in the same location as the .fla (source) file. In Dreamweaver we just add .fla files to be "clocked" so that they are invisible to the ftp synchronization. It would be nice to cloak files and directories by globally and by site.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As of ecf7457 you can specify a regex with the property 'browser.hidden.regex' which files to exclude.

Use i.e

defaults write ch.sudo.cyberduck browser.hidden.regex "\\\..*|.*\\\.pyc|.*\\\.pyo"

to exclude all files that start with a dot, end with .pyc or .pyo. (Tripple excape because of shell escaping)

No grapical preference yet.

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

No branches or pull requests

2 participants