Skip to content

[Good First Issue] Add More File Types to Sorting Rules #1

@SthembisoMfusi

Description

@SthembisoMfusi

🎯 Issue Description

Our script currently supports basic file types, but we need to expand it to handle more file extensions! This is a perfect task for beginners.

🚀 What You'll Learn

  • How to modify JSON configuration files
  • Understanding file extensions and categories
  • Basic project structure

📋 Tasks

  • Add more image formats (e.g., .heic, .heif, .raw)
  • Add more document formats (e.g., .epub, .mobi, .tex)
  • Add more video formats (e.g., .mpg, .mpeg)
  • Add more audio formats (e.g., .au, .aiff)
  • Add more archive formats (e.g., .cab, .iso)
  • Add more code file extensions (e.g., .swift, .kt, .scala)

🛠️ Files to Modify

  • config.json
  • examples/extended_config.json

💡 Hints

  • Look at the existing structure in config.json
  • Research common file extensions for each category
  • Test your changes with the dry-run option

🧪 Testing

python py_sort.py ~/Downloads --dry-run

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions