Page 1 of 1

Copy name of matched folder to cache

PostPosted: 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!

Re: Copy name of matched folder to cache

PostPosted: Tue Jun 16, 2015 12:50 pm
by Mr_Noodle
What cache is this?

Re: Copy name of matched folder to cache

PostPosted: Wed Jun 17, 2015 1:22 am
by vloryan
sorry, the clipboard :)

Re: Copy name of matched folder to cache

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