Jump to content

Manage hidden files


Recommended Posts

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).

 

alfred_hiddenfiles_1.png

alfred_hiddenfiles_2.png

alfred_hiddenfiles_3.png

 

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 by Valkiry
Link to comment

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.

Link to comment

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 :)

Link to comment
  • 3 months later...
  • 1 year 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...