What It Solves
Built for practical Alfresco exports.
This project is useful when you need a repeatable way to export documents from Alfresco without manually navigating the UI or rewriting the same one-off script every time.
PowerShell Utility
Download a complete Alfresco folder tree, preserve its local structure, recover gracefully from transient failures, and optionally package the result as a ZIP archive.
[CONFIGURATION]
URL: https://alfresco-site.example
Root Node: workspace://SpacesStore/xxxxxxxx
Destination: C:\Temp\AlfrescoExport
ZIP Output: C:\Temp\AlfrescoExport.zip
[TRANSFER]
[DIR ] Contracts
[FILE] contract-001.pdf
[OK ] Saved to: C:\Temp\AlfrescoExport\Contracts\contract-001.pdf
[FILE] contract-002.pdf
[SKIP] Existing file skipped: contract-002.pdf
[RUN SUMMARY]
Folders: 3
Files Found: 12
Downloaded: 10
Skipped: 2
Errors: 0
What It Solves
This project is useful when you need a repeatable way to export documents from Alfresco without manually navigating the UI or rewriting the same one-off script every time.
Use Cases
Title, description, canonical link, JSON-LD, robots, and sitemap.
Topics, homepage, badges, and a README designed around real search terms.
GitHub Actions now checks the script and core docs on every push.
Features
Walks the Alfresco tree and recreates the same hierarchy locally.
Retries transient HTTP and download failures automatically.
Sanitizes invalid Windows file names before writing to disk.
Creates a clean archive at the end of the export when requested.
Supports repeatable runs without redownloading everything.
Shows colorized logs, sections, and a final run summary.
Quick Start
$credential = Get-Credential
.\Export-AlfrescoFolderTree.ps1 `
-AlfrescoUrl "https://alfresco-site.example" `
-RootNodeId "workspace://SpacesStore/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" `
-DestinationPath "C:\Temp\AlfrescoExport" `
-Credential $credential `
-ZipFilePath "C:\Temp\AlfrescoExport.zip"
Repository
The repository includes a focused README, repository topics, a clear description, and this GitHub Pages site with search-friendly page metadata.