JohnSundell/Files
A nicer way to handle files & folders in Swift observed · 2026-08-28
Health v2 · maintenance only
34/100
- Activity 24
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3517
- days_rel: 460
- days_push: 460
- n_releases_24m: 1
Adoption not part of the score
2637 stars · 198 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Files is a compact Swift library offering a modern, object-oriented API for reading, writing, and managing files and folders, wrapping Foundation's FileManager. It is aimed primarily at Swift scripting and tooling but can also be embedded in apps.
Use cases
- iterate over files in a folder in a swift script
- rename files in a folder programmatically
- recursively walk a folder tree in swift
- create, write, and delete files and folders
- move files between folders in a command line tool
- access system folders like home and documents in swift
When to choose
- you write Swift scripts or command line tools that manipulate the file system
- you want a cleaner, object-oriented alternative to raw FileManager APIs
- you need unified do-try-catch error handling for file operations
When to avoid
- you need advanced file system features like watching, permissions, or streaming I/O
- your project is not written in Swift
- you need cross-language file handling outside the Apple/Linux Swift ecosystem
Facets
library · maturity stable
file-system developer-tools developer-tools files cross-platform swift-scripting filemanager-wrapper folders macos linux ios swift
1 source
- readme: https://github.com/JohnSundell/Files · fetched 2026-08-28 · 41b06bad2010
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JohnSundell/Files | main | 34 |
For agents
markdown · JSON · MCP: product_card(name="JohnSundell/Files")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem