Copy name of matched folder to cache

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Copy name of matched folder to cache Tue Jun 16, 2015 5:59 am • by vloryan
hi guys, what shell script command copies the name of a watched folder (it will always be only one folder) to my cache? thanks for your help!
vloryan
 
Posts: 25
Joined: Thu May 29, 2014 5:00 pm

Re: Copy name of matched folder to cache Tue Jun 16, 2015 12:50 pm • by Mr_Noodle
What cache is this?
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Copy name of matched folder to cache Wed Jun 17, 2015 1:22 am • by vloryan
sorry, the clipboard :)
vloryan
 
Posts: 25
Joined: Thu May 29, 2014 5:00 pm

Re: Copy name of matched folder to cache Wed Jun 17, 2015 3:07 pm • by Mr_Noodle
If doing a shellscript, you can use the pbcopy command. You'll have to work out the rest of the logic but that should get you started.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support