Jamf Sync CLI formatting

cwaldrip
Valued Contributor

I'm trying to use Jamf Sync from the command line to keep a local backup of our jamfcloud packages. It works great from the GUI (so everything is in my keychain), but in the CLI I can't get it to connect to the server. The issue is with the formatting of the source I think.

With the "Name" for my source in the GUI set as "JamfCloud" (for my JCDS), and the local directory named "JamfcloudBackup" I've tried...

-s JamfCloud -d JamfcloudBackup -p
-s JCDS:JamfCloud -d JamfcloudBackup -p
-s JCDS:xxxxxxxx.jamfcloud.com -d JamfcloudBackup -p
-s JCDS:https://xxxxxxxx.jamfcloud.com -d JamfcloudBackup -p
-s https://xxxxxxxx.jamfcloud.com -d JamfcloudBackup -p

And I get the same response...

Loading distribution points
Couldn't find the source distribution point or folder:

 The help page says to use "the source name" but is that the name defined in the GUI, or the actual URL in my case?

1 ACCEPTED SOLUTION

cwaldrip
Valued Contributor

Well, this made no sense... but even though there are not spaces in the source name it works with this line.

-s "JCDS:JamfCloud" -d JamfcloudBackup -p

Go figure.

View solution in original post

1 REPLY 1

cwaldrip
Valued Contributor

Well, this made no sense... but even though there are not spaces in the source name it works with this line.

-s "JCDS:JamfCloud" -d JamfcloudBackup -p

Go figure.