Skip to content

Instantly share code, notes, and snippets.

@intel352
Created September 4, 2013 22:06
Show Gist options
  • Save intel352/6443489 to your computer and use it in GitHub Desktop.
Save intel352/6443489 to your computer and use it in GitHub Desktop.
Webdav get last modified (using curl)
curl -i -X PROPFIND --user 'user:pass' https://someserver.com/webdav/Sites/Logs/ --upload-file - -H "Depth: 1" <<end
<?xml version="1.0"?>
<a:propfind xmlns:a="DAV:">
<a:prop><a:resourcetype/></a:prop>
<a:prop><a:getlastmodified/></a:prop>
</a:propfind>
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment