milan Posted March 29, 2014 Share Posted March 29, 2014 (edited) A workflow for toggling the visibility of hidden system files (e.g. files with names starting with a dot: .bash_profile) in Finder. Get it at http://www.packal.org/workflow/toggle-hidden-files. Report bugs (unlikely to impossible edit: entirely possible but hopefully fixed now) here. Edited April 9, 2014 by milan Link to comment
JasonB5232 Posted April 7, 2014 Share Posted April 7, 2014 (edited) FYI. Unless you have already created the value, defaults write com.apple.finder AppleShowAllFiles -bool true, the workflow will silently fail. error "2014-04-07 11:58:32.059 defaults[7149:d07] The domain/default pair of (/Users/jasonbrown/Library/Preferences/com.apple.finder, AppleShowAllFiles) does not exist" number 1 Edited April 7, 2014 by JasonB5232 Link to comment
milan Posted April 9, 2014 Author Share Posted April 9, 2014 Jason, I must thank you very much! I'd never have found this bug... I'm pushing a fixed version to Packal right now. Find it here: http://www.packal.org/workflow/toggle-hidden-files Link to comment
shrop Posted February 28, 2015 Share Posted February 28, 2015 A friend and I made some improvements: 1. Added a hot key - Command + Spacebar + period to show/hide (I like this key combo form Total Finder) 2. Added a command to bring the Finder back to the front after a show/hide operation https://github.com/shrop/alfred2-hidden-files Link to comment
milan Posted March 1, 2015 Author Share Posted March 1, 2015 Thank you Mark. I've updated the workflow on Packal. I've added a small attribution, but Packal doesn't seem to want to update the description (nor the fact that it runs absolutely fine on Yosemite). Link to comment
rice.shawn Posted March 2, 2015 Share Posted March 2, 2015 The Packal caches just need some time to clear out. The page is cached in whole and in parts, so it takes a little while for all of them to update. Link to comment
milan Posted March 2, 2015 Author Share Posted March 2, 2015 That's what I thought was the reason. It updated now. Link to comment
Subject22 Posted March 4, 2015 Share Posted March 4, 2015 I made a similar workflow a while back and managed to bolt together a script filter which lets Alfred tell you if hidden files are currently visible or if they're hidden. This may or may not be useful to you #!/bin/sh #check the current value and display the result as subtitle CURVALUE=$(defaults read com.apple.finder AppleShowAllFiles -bool) if [ $CURVALUE = 0 ]; then subtitle="Hidden files are currently invisible" else subtitle="Hidden files are currently visible" fi echo '<?xml version="1.0"?><items>' echo "<item arg=\"{query}\" uid=\"ssid\" valid=\"yes\">" echo "<title>Toggle hidden files</title>" echo "<subtitle>$subtitle</subtitle>" echo "<icon>icon.png</icon></item></items>" echo "</items>" milan 1 Link to comment
milan Posted March 4, 2015 Author Share Posted March 4, 2015 Thanks a lot, Subject22! I integrated your script into Hidden Files (and tweaked it a bit). Link to comment
Subject22 Posted March 5, 2015 Share Posted March 5, 2015 No worries! I'll check out your updated version Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now