Extract duplicate rename code from --rename option and interactive 'r' branch into find_unique_filename() function. Reduces code duplication and improves maintainability. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Extract duplicate rename code from --rename option and interactive 'r' branch into find_unique_filename() function. Reduces code duplication and improves maintainability. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>