Jump to content

Show Hidden Files - Toggle (Finder)


Recommended Posts

Nice, but it launches a new instance of the Terminal app at every invocation and then leaves that Terminal running. 

 

I use PathFinder as a Finder replacement, so maybe that has something to do with it? in any case, the workflow doesn't toggle PathFinder's status regarding showing hidden files.

Link to post

@jgarza9788 Thanks for the workflow. A couple of ways you might improve it:

 

Terminal Command isn't really the right action for this case. A Run Script action with Language = /bin/bash would be more appropriate. Terminal Command is for commands that need to be run in a terminal because they're, for example, interactive and/or need user input. For a command that doesn't need input, Run Script is a better choice (it doesn't leave a Terminal windows behind).

 

Would you consider putting the workflow source on GitHub, not just the compiled workflow? Git(Hub) is for source code, and only putting binaries on there undermines a lot of the features, like pull requests.

 

1 hour ago, JimmyTheSaint said:

so maybe that has something to do with it?

 

It doesn't.

 

1 hour ago, JimmyTheSaint said:

in any case, the workflow doesn't toggle PathFinder's status regarding showing hidden files.

 

No, it's a workflow for Finder. Path Finder doesn't care about Finder's settings, and in any case, Path Finder has a menu entry to show/hide invisible files. In Finder, it's a hidden setting that require messing around on the command line and restarting Finder (which is what the workflow does and why it's useful).

Link to post
  • deanishe changed the title to Show Hidden Files - Toggle (Finder)

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