{"id":17049792,"url":"https://github.com/marzer/sharepoint-cleaner","last_synced_at":"2026-05-19T06:05:53.574Z","repository":{"id":50971613,"uuid":"446539281","full_name":"marzer/sharepoint-cleaner","owner":"marzer","description":"Utility for bulk-deleting sharepoint version history.","archived":false,"fork":false,"pushed_at":"2022-11-21T14:20:54.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T11:18:18.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marzer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-10T18:33:00.000Z","updated_at":"2024-10-16T08:31:09.000Z","dependencies_parsed_at":"2023-01-23T13:45:16.951Z","dependency_job_id":null,"html_url":"https://github.com/marzer/sharepoint-cleaner","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fsharepoint-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fsharepoint-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fsharepoint-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fsharepoint-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marzer","download_url":"https://codeload.github.com/marzer/sharepoint-cleaner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056362,"owners_count":20553853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:55:24.444Z","updated_at":"2026-05-19T06:05:48.555Z","avatar_url":"https://github.com/marzer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sharepoint-cleaner\nBulk-cleans version history from a SharePoint server. Because apparently giving administrators a UI for this is challenging.\n\n\u003cbr\u003e\u003cbr\u003e\n\n## Usage\nsharepoint-cleaner is a command-line application requring .NET 4.8.\n```\nsharepoint-cleaner [site_uri] [username]\n```\n\n`site_uri` and `username` are optional; you will be prompted to input them if they are omitted.\nPassword is always provided at a prompt (i.e. it cannot be specified on the command-line).\n\nSince the many server requests needed can take a lot of time (potentially hours), the application stores the session state locally in a file.\nRe-running the application again with the same `site_uri` and `username` will attempt to resume the session from the\nfile to avoid duplicate work being done.\n\n\u003cbr\u003e\u003cbr\u003e\n\n## Example run\n```\n---------------------------------------------------------\nsharepoint-cleaner - github.com/marzer/sharepoint-cleaner\n---------------------------------------------------------\nSite URI: https://foobar.sharepoint.com/Assets\nUsername: foo@bar.com\nPassword: *************\nSession: sharepoint-cleaner_4056058362.xml\n---------------------------------------------------------\n/Assets/_vti_pvt\n/Assets/Access Requests\n/Assets/SitePages\n/Assets/SitePages/Forms\n/Assets/SitePages/Forms/Repost Page\n/Assets/SitePages/Forms/Site Page\n/Assets/SitePages/Forms/Web Part Page\n/Assets/SiteAssets\n/Assets/SiteAssets/Assets Notebook\n/Assets/SiteAssets/Forms\n/Assets/SiteAssets/Forms/Document\n/Assets/Lists\n/Assets/Lists/PublishedFeed\n/Assets/Lists/PublishedFeed/AB922B82-8406-4E49-B17B-9057BDF09503\n/Assets/Lists/PublishedFeed/Attachments\n/Assets/Lists/PublishedFeed/FEB96200-6E92-41DB-856B-E8702BCDF33A\n/Assets/_catalogs\n/Assets/_catalogs/masterpage\n/Assets/_catalogs/masterpage/Forms\n/Assets/_catalogs/masterpage/Forms/Document\n/Assets/_catalogs/masterpage/Forms/MasterPage\n/Assets/_catalogs/design\n/Assets/_catalogs/design/Attachments\n/Assets/images\n/Assets/Shared Documents\n/Assets/Shared Documents/Video\n/Assets/Shared Documents/Video/RenderInPlace\n/Assets/Shared Documents/Video/XRay\n/Assets/Shared Documents/Video/XRay/Tampere olecranon 1\n/Assets/Shared Documents/Video/XRay/Tampere olecranon 1/Session1_20211109\n/Assets/Shared Documents/Video/XRay/Tampere olecranon 1/Vänni_-_-\n/Assets/Shared Documents/Video/XRay/Tampere olecranon 1/Vänni_-_-/Session1_20211109\nSession written to sharepoint-cleaner_4056058362.xml\n---------------------------------------------------------\nProcessed 105 files and 29 folders, deleting 92 past versions.\n```\n\n\u003cbr\u003e\u003cbr\u003e\n\n## License and Attribution\nThis project is published under the terms of the [MIT license](https://github.com/marzer/sharepoint-cleaner/blob/main/LICENSE.txt).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarzer%2Fsharepoint-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarzer%2Fsharepoint-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarzer%2Fsharepoint-cleaner/lists"}