How to Move Files from Multiple Folders and Rename Duplicates in Windows 11
Question details
Consolidate over 100,000 photos and videos from multiple subfolders into a single directory while automatically keeping and renaming files that share the same name.
- Product
- Windows File Explorer
- Device & OS
- Windows 11
- Scenario
- Moving massive amounts of media files from hundreds of source subfolders into one target folder.
- Observed behavior
- Windows File Explorer encounters filename conflicts and only offers "Replace" or "Skip" prompts, lacking a built-in bulk option to keep both files and automatically append a unique suffix.
Verify the total size of the folders you intend to move by right-clicking them and selecting Properties, ensuring the destination drive has adequate free space for the massive file transfer.
Use a Dedicated File Management Tool (Recommended)
Third-party file managers and bulk copy utilities feature built-in conflict resolution rules that can automatically append unique suffixes to duplicate filenames during large transfers.
Since Windows 11 File Explorer struggles with preserving over 100,000 duplicates automatically, utilizing a robust file management utility like TeraCopy, FreeCommander, or Total Commander is the safest and most efficient approach.
Download and install a trusted third-party copying utility such as TeraCopy, which replaces the default Windows copy handler and provides advanced collision rules.
Navigate to the parent directory containing your hundreds of subfolders, search for *.* to display all files, and select all the photos and videos you want to move.
Drag and drop the files into your destination folder using the utility. When the first filename conflict appears, click the tool's options prompt.
Select the 'Keep Both' or 'Auto-Rename All' option in the utility's prompt. The software will automatically append a sequential number to any duplicate names as it moves the files.
Use a Custom PowerShell Script
A PowerShell script can automate the process of iterating through subfolders, moving files, and checking for name collisions to append a unique timestamp or number.
Streamline Your Document Management with WPS Office
While reorganizing your file system and migrating large batches of media on Windows 11, you may also need a fast, reliable tool to manage your documents, spreadsheets, and presentations. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, keeping your productivity high without bogging down your system.
- 1. Download the installer: Visit the official WPS Office website and click the free download button to get the setup file.
- 2. Install the suite: Run the installer, follow the on-screen prompts, and select your preferred document associations.
- 3. Start creating and editing: Launch WPS Office and instantly open your existing Microsoft Office files with zero formatting loss.

Frequently Asked Questions
Why doesn't Windows 11 File Explorer have a "Keep Both" option for bulk transfers?
While older versions of Windows sometimes offered a clearer 'Keep Both' dialog that appended numbers, Windows 11's modernized copy dialog often defaults to 'Replace' or 'Skip' to streamline UI for average users. It struggles to intelligently parse and auto-rename thousands of collisions at once without manual confirmation.
Can I use the Windows search bar trick to move files?
Yes, you can search for '*.*' in the parent folder to display all contents from subfolders in a flat list. However, if you select all and drag them to a new folder, you will still encounter the filename collision issue if multiple files share the exact same name (like 'IMG_001.jpg').
How do duplicate filenames happen when importing photos?
Digital cameras and smartphones often reset their sequential naming counters (e.g., DSC_0001.jpg) when a folder gets full, a memory card is formatted, or device settings are reset. When combining photos from multiple devices or years into a single folder, these overlapping names inevitably conflict.




