Back to skills
SKILL.md
File System Management
ASecurityOrganize deduplicate archive and clean files with Python
- 2 stars
- 0 votes
- 0 copies
- 4 views
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill file-system-management --agent claude-codeAre you the author of File System Management?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-file-system-management)---
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()
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.