Jump to content
jgarza9788

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.

Share this post


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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...