Skip to main content
Question

Help with Firefox Script

  • October 31, 2014
  • 2 replies
  • 0 views

Forum|alt.badge.img+8

I'm getting an error message when I'm running this script. What I did was copy the cert8.db file into /Library/Application Support/JAMF/bin and want it to copy to the Firefox profile. Below is the error message I get when running it.

find: -exec: no terminating ";" or "+"

#!/bin/bash

find ~/Library/Application Support/Firefox/Profiles -name "*.default" -type d -exec cp /Library/Application Support/JAMF/bin/cert8.db {}/;

2 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • 7886 replies
  • October 31, 2014

I think the / toward the end is what the issue is. I think the right syntax is just {} ;


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 56 replies
  • October 31, 2014

I was able to get it to work. Thanks for the response.