# Creating a wget OSX Service

I intend to create a solution to replicate the URL and also ultimately download it using wget .

Just how would certainly I deal with developing an OSX solution to wget approximate links from an internet browser or system vast. I think it would certainly be feasible with Automator is Run Shell Script activity.

I had it set up to utilize my default covering (bash) and also run the command located at /opt/local/wget but also for some factor I'm not obtaining it to pass along the link.

0
2019-12-02 03:08:52
Source Share

Have you attempted utilizing it as typical input with xargs? That benefits me.

xargs wget


The various other means is to probably make use of $1 as in : wget$1


I would certainly price estimate that for safety and security is purpose also :

wget "\$1"

0
2019-12-03 04:59:47
Source

I have actually done something similar to this prior to, and also what made my life most convenient was pbcopy and also pbpaste. They permit you to either read the existing clipboard or contact it.

So you most likely to Safari, copy some message, run an automator activity. Activity is run covering manuscript schell manuscript is simply primarily simply wget 'pbcopy'

0
2019-12-03 04:58:26
Source