🎯 Issue Description
Sometimes users want to undo the organization. Let's add an undo feature that can restore files to their original locations!
🚀 What You'll Learn
- File system operations
- Data persistence (logging moves)
- Command-line argument parsing
📋 Tasks
🛠️ Files to Modify
💡 Hints
- Log moves to a JSON file with timestamp
- Store original path and new path for each move
- Add confirmation prompt for undo operation
🧪 Testing
python py_sort.py ~/Downloads
python py_sort.py ~/Downloads --undo
❓ Questions?
Feel free to ask questions in the comments or start a discussion!
🎯 Issue Description
Sometimes users want to undo the organization. Let's add an undo feature that can restore files to their original locations!
🚀 What You'll Learn
📋 Tasks
--undocommand line option🛠️ Files to Modify
py_sort.pyREADME.md💡 Hints
🧪 Testing
❓ Questions?
Feel free to ask questions in the comments or start a discussion!