PowerShell Utility

Export Alfresco folders with a cleaner workflow.

Download a complete Alfresco folder tree, preserve its local structure, recover gracefully from transient failures, and optionally package the result as a ZIP archive.

  • Recursive Alfresco export
  • Windows-safe file handling
  • Optional ZIP packaging
  • Readable console UI
[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

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.

  • Local backups of Alfresco folder trees
  • Migration preparation and archive extraction
  • Repeatable exports for operations teams
  • Document handoff as ZIP packages
Search Signal Focused metadata

Title, description, canonical link, JSON-LD, robots, and sitemap.

Repository Signal Sharper positioning

Topics, homepage, badges, and a README designed around real search terms.

Trust Signal Validation workflow

GitHub Actions now checks the script and core docs on every push.

Recursive traversal

Walks the Alfresco tree and recreates the same hierarchy locally.

Retry logic

Retries transient HTTP and download failures automatically.

Safer file names

Sanitizes invalid Windows file names before writing to disk.

ZIP output

Creates a clean archive at the end of the export when requested.

Skip existing mode

Supports repeatable runs without redownloading everything.

Readable output

Shows colorized logs, sections, and a final run summary.

Run the export in a few lines.

$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"