Organize deduplicate archive and clean files with Python
Scanned 9/10/2026
Install to Claude Code
npx -y skills add LoopyLuci/Skills --skill file-system-management --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of File System Management?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-file-system-management)More formats (shields.io, HTML) on the badges page.
---
name: file-system-management
description: "Organize deduplicate archive and clean files with Python"
---
# File System Management
## Organize by Type
```python
import os, shutil
for f in os.listdir("."):
ext = f.split(".")[-1].lower()
dirs = {"jpg": "Images", "pdf": "Docs", "zip": "Archives"}
if ext in dirs:
os.makedirs(dirs[ext], exist_ok=True)
shutil.move(f, f"{dirs[ext]}/{f}")
```
## Find Duplicates
```python
import hashlib
def file_hash(path):
return hashlib.md5(open(path, "rb").read()).hexdigest()
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!