Solved Move files from all folders into one folder, overwrite

Emtr

Member
Member
Messages
46
I want to automate one process that I do from time to time. I have many folders, sometimes like 90 folders and I want to move them all into a single folder, the filenames are the same so they overwrite. I can overwrite them, in fact, I should, I just want to move all files from many folders into one folder, not doing it manually. Is there a command in CMD that can do that? E.g I have Folder\Subfolder 1... Subfolder 90\ so in 1 folder I have the subfolders then I have RootFolder\ where I want all to be and overwritten, MOVED not copied
 

My Computer

System One

  • OS
    Windows 8
Just create a script using VB Script.
 

My Computer

System One

  • OS
    Linux Mint 17.2
    Computer type
    Laptop
    System Manufacturer/Model
    Toshiba Satellite C850D-st3nx1
    CPU
    AMD E1-1200 APU with Radeon (tm) HD Graphics 1.40 GHZ
    Memory
    12GB
    Graphics Card(s)
    AMD Radeon™ HD 7310 Graphics
    Sound Card
    Realtek HD
    Monitor(s) Displays
    LCD
    Screen Resolution
    1366 x 768
    Hard Drives
    Crucial M500 240GB SSD
    Mouse
    Logitech M525
    Internet Speed
    45/6 - ATT U-Verse
    Browser
    Google Chrome
    Antivirus
    None needed. It is Linux.
    Other Info
    Arris NVG589 Gateway; Router - Cisco RV320; Switch - Netgear GS108 8-Port Switch & Trendnet TEG-S50g 5-Port Switch; Access Points - Engenius ECB350, Trendnet TEW-638APB; NAS - Lenovo ix2-4; Printer - Brother HL-2280DW; Air Print Server - Lantronix XPrintServer

    A/V UPS - Tripp-Lite Smart 1500LCD 1500 Va/900 W.
So I have to learn making scripts and go through a tutorial and a whole lot of things for this? Anyway I discovered find file and cutting pasting files from different folders that are found into one folder will merge all into the main folder, no copies...

Another question to the forums:

How can I rename multiple folders into the same name and merge them into one, rather than renaming each? I've even used Rename Bulk Utility but it doesn't happen for folders
 

My Computer

System One

  • OS
    Windows 8
Robocopy should do all that you need

Robocopy
 

My Computer

System One

  • OS
    Windows 8 Pro
    Computer type
    PC/Desktop
    Memory
    6 GB
    Screen Resolution
    1280 x 1024
    Hard Drives
    12 TB in 6 disks
    PSU
    TX650
    Keyboard
    G15
    Mouse
    Intellimouse 3.0
    Internet Speed
    100 Mbits
    Browser
    Chrome
    Antivirus
    Trend Micro
Back
Top