Jump to content

List Hidden Files in Alfred [Version 2.0]


Recommended Posts

Posted (edited)

Overview

List hidden files in Alfred from Finder current window or from a select folder in Alfred File Browser (File Action).

The workflow does not change Finder files visibility. It will only list those hidden files in Alfred itself.

If there isn't any Finder window then the workflow will list hidden files from the user home folder.

listhidden2.png

Usage

Keyword

  • Open a Finder window and go to the folder you want
  • Show Alfred and type the keyword hidden or use the hotkey
  • You can filter by typing part of the filename
  • Press Return key to open the file in the default text Editor or, if it is a folder, to see its content

File Action

  • Open Alfred File Browser
  • Select a folder
  • Select List Hidden Files action
  • You can filter by typing part of the filename
  • Press Return key to open the file in the default text Editor

Download

  • Release date: 13 May 2014
  • Made on OSX 10.9.2
  • Requires Alfred 2.3 or later
  • Download Now

What's new

  • List hidden folders
  • Show hidden folders content when pressing return key
  • Show file/folder icon
  • Back button to return to the initial folder
  • Requires Alfred 2.3 or later
Edited by Carlos-Sz
  • 2 weeks later...
Posted

Useful, thanks :)

 

Thank you.

 

Is there a way for this to list hidden directories as well?

 

It is possible and I’ll add the feature somehow.

 

For now you can change a line of the h_filter.scpt to list folders.

 

Look for this line of code: 

set lst_Files to paragraphs of (do shell script "find " & (quoted form of POSIX path of (sDest)) & " -maxdepth 1 -type f -name '.*'")

Replace the line above for this:

set lst_Files to paragraphs of (do shell script "find " & (quoted form of POSIX path of (sDest)) & " -maxdepth 1 -name '.*'")
  • 1 month later...
  • 5 years later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...