How to copy only certain files and retain the folder structure?

Page 1 of 2 12 LastLast

  1. Posts : 374
    Windows 10-64 bit (version 1909 build 18363.628)
       #1

    How to copy only certain files and retain the folder structure?


    I have Windows 10 22H2, build 19045.2486. I have 10 folders in my external hard drive. Each folder has 12 jpeg files named like 1.jpg, 2. jpg, 3.jpg, etc., and some zip files. Every folder also has 3-4 videos over 2Gb in size.

    Now I want to copy all the ten folders from my external drive to my laptop without the videos. How do I do that?

    Of course I can copy all the folders and delete the videos later from my laptop. But isn't there any direct way to copy only the files that I want and retain the folder structure?
    On a google search I found these methods.
    How to copy a directory structure but only include certain files (using windows batch files) - Stack Overflow

    But they use code to be typed.
    Is there any graphical way to do this? Like, mentioning the type of file that I want to copy in a dialogue box or something like that?
      My Computer


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

    Is there any graphical way to do this?
    There is a GUI option for Robocopy:

    Robocopy GUIs: Driving Robocopy with the Mouse
      My Computers


  3. Posts : 1,201
    11 Home
       #3
      My Computers


  4. Posts : 4,637
    several
       #4

    you can do it with xcopy, no need for anything complicated. ther are some gui things for xcopy around if you must.

    Download XCopyGUI Setup.msi (XCopy-GUI)
      My Computer


  5. Posts : 1,201
    11 Home
       #5

    SIW2 said:
    you can do it with xcopy, no need for anything complicated. ther are some gui things for xcopy around if you must.

    Download XCopyGUI Setup.msi (XCopy-GUI)
    That's way too complicated IMHO.
      My Computers


  6. Posts : 4,830
    Windows 11 Pro 64 Bit 22H2
       #6

    If XCopy GUI is too complicated for you, then create the 10 folders and name them as such, on your external drive. Open each folder separately on the source drive and copy the files you want, then open the appropriately named folder on the external and paste the contents. Do this for all 10 folders.
    It may seem like it's a lot of clicks, but it would be faster then trying to learn a new app and it's issues.
      My Computer


  7. Posts : 1,201
    11 Home
       #7

    spunk said:
    If XCopy GUI is too complicated for you, then create the 10 folders and name them as such, on your external drive. Open each folder separately on the source drive and copy the files you want, then open the appropriately named folder on the external and paste the contents. Do this for all 10 folders.
    It may seem like it's a lot of clicks, but it would be faster then trying to learn a new app and it's issues.
    Why not just use FastCopy because it literally takes only seconds to specify a filter in the exclude box? No need to install anything and no need to do anything manually, and you can preview the listing BEFORE the actual copying will be performed. An example of a filter that selects multiple filetypes by file extension:
    *.wmv; *.avi; *.mkv; *.mov; *.qt; *.m4v; *.m4p; *.webm
      My Computers


  8. Posts : 374
    Windows 10-64 bit (version 1909 build 18363.628)
    Thread Starter
       #8

    Thanks everyone for replying in such a short time! Really appreciate. Looks like I'll try FastCopy and Robcopy GUIs first.


    spunk said:
    If XCopy GUI is too complicated for you, then create the 10 folders and name them as such, on your external drive. Open each folder separately on the source drive and copy the files you want, then open the appropriately named folder on the external and paste the contents. Do this for all 10 folders.
    It may seem like it's a lot of clicks, but it would be faster then trying to learn a new app and it's issues.
    I think in the short term, copying the folders like that is definitely a faster way. But in the long term, that can become a time waste when such situations arise multiple times.
      My Computer


  9. Posts : 282
    Windows 10 Pro
       #9

    I use Everything.exe for such a case. Rather then try to type it out here I'll show you how. Use 1080p and full screen if you can.



      My Computer


  10. Posts : 1,201
    11 Home
       #10

    F22 Simpilot said:
    I use Everything.exe for such a case. Rather then try to type it out here I'll show you how. Use 1080p and full screen if you can.



    I suppose you don't know this, but the first person who started recommending Everything on the old sevenforums.com sister site a very long time ago (before Windows 8 came out) was me. If you Google everything, then even after all these years the official website of the program still turns up as the first search result. lol
    Everything and FastCopy go hand in hand for me. Just trust me about it, you people are still trying to make it waa-aaaa-aaaaaaay too complicated. Do yourself a favor. Learn to use FastCopy.
      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 07:50.
Find Us




Windows 10 Forums