Software to move thousands of files from many folders to one folder

Page 1 of 2 12 LastLast

  1. Posts : 5
    windows 10
       #1

    Software to move thousands of files from many folders to one folder


    Hi, I am new to forum and not the most tech savvy. Here's what I need to do:

    I have 10 folders with 19,000 .JSON and .JPG files. Ideally, I want to select all 10 folders and just move or copy the .JSON files to one folder but not the any of the other file extensions.

    Is anyone aware of a relatively simple software I can use to tackle this function? Thank you in advance for any advice.
      My Computer


  2. Posts : 16,968
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #2

    Andrew,

    Use File explorer search - search for *.json - see Search in File Explorer - TenForumsTutorials
    In the results, press Ctrl+A to select them all.
    Then drag them to the desired folder.

    Denis
      My Computer


  3. Posts : 5
    windows 10
    Thread Starter
       #3

    Thanks Denis. And I assume a few thousand files in each folder doing this manually shouldn't trip this up. I will report back if an issue and appreciate the quick reply.
      My Computer


  4. Posts : 43,025
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    The most straightforward is to use file explorer as above. When doing so, I would suggest you copy, not move, in case something goes amiss, then delete afterwards.

    If you want some other well-known options:

    Teracopy:
    TeraCopy for Windows - Code Sector

    Robocopy perhaps- built in, and has been provided a GUI mentioned here:
    Robocopy in Windows 10 & Microsoft Robocopy GUI

    Robocopy: The Ultimate Guide (A Complete How-To)
      My Computers


  5. Posts : 5
    windows 10
    Thread Starter
       #5

    Great, thank you again and also for these recommendations. Very much appreciated.
      My Computer


  6. Posts : 30,613
    Windows 10 (Pro and Insider Pro)
       #6

    This can be done with few commands, that can be put in .bat file.

    Command is described here at superuser forums:
    Make new text file and copy in it:

    Code:
    @echo off
    md merged
    for /f "delims=" %%f in ('dir /b /ad') do (
        if not %%f==merged xcopy "%%f"\*.json merged /s /y
    )
    save it and rename to something.bat. Put it in topmost folder of your files, and run
      My Computers


  7. Posts : 456
    Windows 10
       #7

    There might be a problem if in the 10 folders there are files with the same name when you try to copy them to a single folder since there can't be 2 files with the same name in the same folder.
      My Computer


  8. Posts : 14,024
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #8

    All of the above but not seen is don't worry about the drive space, Move shouldn't change what is available while Copy will take up more space, same for saving duplicates. Example of choices:
    Software to move thousands of files from many folders to one folder-image.png
      My Computers


  9. Posts : 1,621
    Windows 10 Home
       #9

    I vote with dalchina about Copy instead of Move. If something goes wrong, it might be hard or very hard to get the original files back. With Copy, one can compare the source with the target, after making sure byte-sizes match, then the source files can be deleted. Another idea: Copy in "clumps" -- perhaps no more than 50-100 files at a time. More control over the operation that way.
      My Computer


  10. Posts : 5,899
    Win 11 Pro (x64) 22H2
       #10

    Maybe I'm missing something but I see absolutely no need to use a third party app to move files. A simple organize by file extension in explorer - jpeg, json and click the files with the extensions to move or copy. Don't need a third party app for that.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:06.
Find Us




Windows 10 Forums