Valkiry Posted March 31, 2013 Posted March 31, 2013 (edited) Hi! I've just created a simple workflow that manage hidden files on OS X. The cool feature is the possibility to see current status of hidden files directly in Alfred (in the subtitle of the extension). You can download extension on GitHub: https://github.com/BubiDevs/manage-hidden-files I'm waiting for your opinion! PS: I've tested It only on 10.8 Edited July 13, 2013 by Valkiry Domenic and mixterdee 2
Banjer Posted March 31, 2013 Posted March 31, 2013 I'll like this, but i did swap the logic in the script. To me it feels more natural to hide the files when i type "hidden true"
Domenic Posted March 31, 2013 Posted March 31, 2013 (edited) Would it be somehow possible to change this workflow to work with Path Finder...? edit: I agree with Banjer. Was confused the first seconds. Edited March 31, 2013 by Domenic
Valkiry Posted March 31, 2013 Author Posted March 31, 2013 Thanks for the suggest! You are right, initially I use "true" because in the command I have to set true in the flag. However I think that "hidden true" it's more natural. Tomorrow I'll update the script and commit it
Valkiry Posted April 1, 2013 Author Posted April 1, 2013 I've updated the workflow with the suggestion. Enjoy it! PS: I'm going to add support for OS X 10.7 in the next version
rice.shawn Posted April 1, 2013 Posted April 1, 2013 There is another workflow that did this sort of thing posted way back. I remember that the syntax was changed between osx versions, so I looked up the command for previous versions and posted them (maybe with an updated workflow). I just modified it to run the commands for before 10.8 and 10.8, which wasn't the most elegant way to do it, but it did the job. It would be great to see one that's more elegant (gets the version of osx and runs the appropriate command). If you do a search on these forums, then you can probably find the old one if you want to work from there. I'd love to see it done better.
Valkiry Posted April 1, 2013 Author Posted April 1, 2013 Yeah, thanks! I think to use something like this: #check version of osx VERSION=$(sw_vers -productVersion) OSX=${VERSION:0:4} echo $OSX if [ "$OSX" = "10.8" ]; then echo "Mountain Lion" else echo "Lion or pre Mac OS X" fi Later today I search in the forum the command to use in 10.7
Valkiry Posted April 1, 2013 Author Posted April 1, 2013 (edited) I've just released 1.2 version. This release has the support for OS X 10.7 and older (but I can't test it) and a great feature: hotkeys. You can simply press: + "Cmd + Shift + H" to hide hidden files + "Cmd + Shift + S" to show hidden files Enjoy! https://github.com/BubiDevs/manage-hidden-files Edited April 1, 2013 by Valkiry
Valkiry Posted July 13, 2013 Author Posted July 13, 2013 If someone are interested in, i've just released 1.3 version, with some improvements and the ability to simply toggle the visibility of hidden files simply tiping 'hidden'. Check it now! https://github.com/BubiDevs/manage-hidden-files
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