pCloudSync-deconflict v1.1.0 - Interactive Conflict Resolution
pCloudSync-deconflict v1.1.0 π
Major update with interactive conflict resolution and comprehensive testing infrastructure!
β¨ New Features
π― Interactive Conflict Resolution
--resolveflag: Interactively resolve conflicts with different content- Rich metadata display: Shows file sizes, modification times, and full paths
- Colored diff display: Beautiful syntax-highlighted diffs for text files
- Smart file detection: Automatically detects text vs binary files
- File viewing: Open both files in default applications for comparison
- Multiple actions: Keep original, keep conflicted, skip, or quit
π Enhanced Dry-Run Support
--resolve --dry-run: Preview all conflicts and available actions without making changes- Perfect for planning: See exactly what conflicts exist before resolving them
- Combined workflows: Use
--auto-delete --resolve --dry-runto preview complete workflow
π§ͺ Comprehensive Testing Infrastructure
π Test Data Suite
- 17 different conflict scenarios covering all edge cases
- Multi-level directory nesting (3 levels deep)
- Unicode filenames: cafΓ©, εε‘, emojis, special characters
- Files with/without extensions: Complete coverage
- Binary and text files: Different handling for each type
- Edge cases: Empty files, large files (1000+ lines), orphaned conflicts
πββοΈ Automated Testing
run-tests.sh: Comprehensive test suite covering all major functionality- Safe testing: All tests run in
--dry-runmode by default - Color-coded results: Clear pass/fail indication
- JSON validation: Ensures output format integrity
- Easy maintenance:
test-data/create-test-files.shto recreate test data
β‘ Performance & UX Improvements
π¨ Better User Experience
- Smoother spinner animation: Updates every 0.125 seconds instead of per file
- Enhanced progress display: More responsive and visually pleasing
- Clearer workflows: Perfect separation between
--auto-deleteand--resolve - Better help text: More informative tips and guidance
π§ Technical Enhancements
- Robust Unicode support: Handle international characters correctly
- Smart MIME type detection: Better text file identification
- Enhanced error handling: Graceful handling of edge cases
- Improved file comparison: More efficient and accurate
π Perfect Workflows
Basic Usage
# Preview all conflicts and actions
./pCloudSync-deconflict -r --resolve --dry-run /path/to/folder
# Auto-delete identical files, resolve conflicts interactively
./pCloudSync-deconflict -r --auto-delete --resolve /path/to/folder
# Just clean up identical files automatically
./pCloudSync-deconflict -r --auto-delete /path/to/folderAdvanced Usage
# Test the new features safely
./run-tests.sh
# Scan specific subdirectories
./pCloudSync-deconflict test-data/unicode-files -r --resolve --dry-run
# Handle files without extensions
./pCloudSync-deconflict test-data/root-level --resolveπ What's Included
- β Universal macOS Binary: Works on Intel and Apple Silicon
- β Complete Test Suite: 17 different conflict scenarios
- β Documentation: Comprehensive usage examples and test descriptions
- β Unicode Support: International characters, emojis, special symbols
- β Files Without Extensions: Scripts, makefiles, configs
- β Multi-format Support: Text files (with diffs), binary files, JSON, etc.
π Migration from v1.0.0
All existing functionality is preserved and enhanced:
- β
--auto-deletebehavior unchanged for identical files - β All command-line options remain the same
- β JSON output format is backward compatible
- β
New
--resolveflag is purely additive
π― Use Cases
This release is perfect for:
- Daily pCloud cleanup:
--auto-delete --resolvecombination - Careful conflict review:
--resolve --dry-runto preview first - Development workflows: Test suite ensures reliability
- International users: Full Unicode filename support
- Mixed file types: Text files get diffs, binary files get metadata
π Tested & Verified
- β 17 conflict scenarios with expected results
- β Unicode filenames (Chinese, Japanese, emojis, accents)
- β Large files (1000+ lines) for performance testing
- β Edge cases (empty files, orphaned conflicts)
- β Multi-platform (Intel and Apple Silicon macOS)
- β Real-world usage patterns and workflows
Download the universal binary below and start resolving conflicts interactively!
Full Changelog: v1.0.0...v1.1.0