Jump to content
Carlos-Sz

List Hidden Files in Alfred [Version 2.0]

Recommended Posts

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

Share this post


Link to post

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 '.*'")

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...