Jump to content

Automation Task: reverse of "Expand Tilde in Path”?


Recommended Posts

It would, at least so far as I'm concerned, be useful to have a new Automation Task that is effectively the reverse of the current Expand Tilde in Path. In other words, to take something like /Users/fred/Documents and to output ~/Documents.

 

Why? Because sometimes in a workflow that is dealing with a long path you need to output some notification where it's rather more elegant to abbreviate the path. Yes, I know I can do that with shell and sed but an Automation Task would be simpler because all you'd need to do would be to add the appropriate variable to the task.

 

Stephen

Link to comment

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