I have a CMIS server, and would like to quickly know its latest ChangeLog token.
How to get the latest ChangeLog token from a CMIS server, via command line?
Solutions compatible with all versions of the CMIS protocol are preferred.
I have a CMIS server, and would like to quickly know its latest ChangeLog token.
How to get the latest ChangeLog token from a CMIS server, via command line?
Solutions compatible with all versions of the CMIS protocol are preferred.
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"
?.