MorseCode Posted January 22, 2013 Share Posted January 22, 2013 Workflow to toggle the visiblity of hidden files in Finder. The workflow is configured to use the keyword “hid”. The workflow should also be available through AlfPT, the Alfred 2.0 Package Manager. Download Hidden Files Toggle or clone from my repo on GitHub: github.com/Morse-Code Link to comment
fmr Posted January 22, 2013 Share Posted January 22, 2013 Hm - didn't work for me on: OS X Mountain Lion (Norwegian). Sent you a pull request on github (which works for me) Link to comment
Jb_Bryant Posted January 22, 2013 Share Posted January 22, 2013 Doesn't work for me either. Relaunches Finder but no hidden files are shown. Link to comment
Adeiko Posted January 22, 2013 Share Posted January 22, 2013 Also, if you fix this can you make an option so it open totalfinder before finder? It bugs a lot when a script relaunchs alfred and you loose totalfinder Link to comment
MorseCode Posted January 23, 2013 Author Share Posted January 23, 2013 That's really weird that it's not working on your system. It's a really simple script; not much to go wrong. I just deleted it from my system and reinstalled and it works as expected. It could be a permissions problem so let me try it on another system and see if I can find the problem. As for the TotalFinder option, I'll add that to the workflow as well. Link to comment
MorseCode Posted January 23, 2013 Author Share Posted January 23, 2013 I uploaded a new copy to see if there was something corrupt in the previous version. Download it here: http://d.pr/f/cZAc+. Let me know if you're still not able to toggle the hidden flag. Link to comment
Jb_Bryant Posted January 23, 2013 Share Posted January 23, 2013 Still not working for me. Not sure why. I will probably just continue to use ForkLift or the Alfred file browser if I need to access hidden files. I just was trying it out as an alternative. Link to comment
MorseCode Posted January 23, 2013 Author Share Posted January 23, 2013 I also just deleted and tried installing via AlfPT and it works fine. I'm running OS X 10.7.2, and the latest Alfred build, b70. Link to comment
Jb_Bryant Posted January 23, 2013 Share Posted January 23, 2013 I also just deleted and tried installing via AlfPT and it works fine. I'm running OS X 10.7.2, and the latest Alfred build, b70. FYI - the latest build is b79. Link to comment
rice.shawn Posted February 25, 2013 Share Posted February 25, 2013 I'm using Mountain Lion (10.8.2), and the script was a bit dodgy for me. Apparently, sometimes 10.8 likes com.apple.finder and others com.apple.Finder I can't figure out a logic to but, here's a good way to alter filerevealer.sh in the package: #!/bin/bashvisible=""flag="$(defaults read com.apple.Finder AppleShowAllFiles)"if [ $flag = "0" ]; then "$(defaults write com.apple.finder AppleShowAllFiles -bool true)" "$(defaults write com.apple.Finder AppleShowAllFiles -bool true)" visible="visible"elif [ $flag = "1" ]; then "$(defaults write com.apple.finder AppleShowAllFiles -bool false)" "$(defaults write com.apple.Finder AppleShowAllFiles -bool false)" visible="invisible"fi"$(killall Finder)"echo "Hidden files are now ${visible}." Link to comment
sjugge Posted March 14, 2013 Share Posted March 14, 2013 The parameter for Mac OS X Mountain Lion defers from previous versions, I had a v.1 extension which I had to alter after upgrading to Mountain Lion. The following should clarify things: # show hidden files pre mountain lion defaults write com.apple.Finder AppleShowAllFiles true # hide hidden files pre mountain lion defaults write com.apple.Finder AppleShowAllFiles false # show hidden files mountain lion defaults write com.apple.Finder AppleShowAllFiles 1 # hide hidden files mountain lion defaults write com.apple.Finder AppleShowAllFiles O Link to comment
rosenkrieger Posted March 18, 2013 Share Posted March 18, 2013 Once this Workflow works with Mountain Lion it will be really nice. Could use it :-) Link to comment
lukereative Posted March 18, 2013 Share Posted March 18, 2013 I have converted my Alfred v1 extension to a workflow that definitely works with Mountain Lion 100% of the time.Download it here - https://www.dropbox.com/s/xj2ayvsmzyd1ln3/Magician.alfredworkflow rosenkrieger and mccamel 2 Link to comment
rosenkrieger Posted March 18, 2013 Share Posted March 18, 2013 (edited) I have converted my Alfred v1 extension to a workflow that definitely works with Mountain Lion 100% of the time. Download it here - https://www.dropbox.com/s/xj2ayvsmzyd1ln3/Magician.alfredworkflow Grabbed it. Installed it. Runs perfectly! Thank you :-) Edited March 18, 2013 by rosenkrieger Link to comment
Adrian Posted March 21, 2013 Share Posted March 21, 2013 Just out of curiosity, are there any downsides of restarting Finder (as is needed to show/hide hidden files)? Does it affects services like Dropbox etc? Link to comment
DJay Posted March 21, 2013 Share Posted March 21, 2013 Show/Hide works. But after the action and closing finder can't open it again. No new finder window or even "Open workflow folder". 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