-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
🎯 Issue Description
Allow users to rename files during organization based on patterns (e.g., add date, remove spaces, etc.).
🚀 What You'll Learn
- String manipulation
- Regular expressions
- Configuration parsing
📋 Tasks
- Add naming pattern configuration to JSON
- Implement pattern matching and replacement
- Add common patterns (date, clean names, etc.)
- Handle duplicate names
- Add dry-run support for renaming
🛠️ Files to Modify
py_sort.pyconfig.json
💡 Hints
- Use
remodule for pattern matching - Add patterns like
{date},{clean},{lower} - Test with various file names
🧪 Testing
python py_sort.py ~/Downloads --dry-run📚 Resources
❓ Questions?
Feel free to ask questions in the comments or start a discussion!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed