Avatar of AXISHK
AXISHK
 asked on

Consolidate folders and files

We have serveral folders, 2009, 2010 and 2011 with many subfolders inside.

Is there a good way to consolidate only the all files and subfolder under this year folder into a big folder called "consoldated"

Tks
Windows OS

Avatar of undefined
Last Comment
wolfcamel

8/22/2022 - Mon
wolfcamel

you may need to be more specific, however have a look at robocopy.
it has heaps of command line switches that may be able to filter and copy/move the files based on the criteria you are after.
AXISHK

ASKER
All files and folders under the year (eg. 2009, 2010, etc) will be put under a big folder ("Consolidated"). In the folders have been created, the files are then just put directly under it.

Tks
wolfcamel

if you simply cut or copy and paste you will be prompted that folders already exist and you can choose continue - the only issue you will have is if two files have the same name in the same folder - but when this happens you can choose skip and then manually deal with these after (if you do cut/paste - these will be left behind)
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
AXISHK

ASKER
How about if one folder exsitings with files, and I copy an empty folder. Will it still keep the files there ?

Tks
ASKER CERTIFIED SOLUTION
wolfcamel

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question