This command line outputs the latest ChangeLog token:
wget -q -O - --user=admin --password=admin \ "http://server/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes" \ | sed -e "s/.*<cmis:latestChangeLogToken>//g" | sed -e "s/<.*//g"
- First line: Replace with your username/password
- Second line: Replace with your CMIS server URL and URL pattern before the
?
. - Third line: Result filtering, leave as is.