Jump to content

open URL with a specific browsers with variable in the URL


Recommended Posts

Hi there;

 

My scripting skills are crap right now, attempting to do something that I believe, should be really simple

 

Trying to open a URL like

 

http://example.com/{Current-Year-As-A-Two-Digit-Number}/{Current-Month--As-A-Two-Digit-Number}/{Current-Day-As-A-Two-Digit-Number}/

 

in Google Chrome

 

I found this

open -a /Applications/Google\ Chrome.app http://example.com/

 

but I have no idea how to append the date stuff, any help you can provide - I'd greatly appreciate it

 

-saul

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