| 1. |
Solve : Copy or move wildcard foloders up to root.? |
|
Answer» On my PC I have downloaded a bunch of MP3 files during the past year. Sad to say, I am a POOR ORGANIZER. I don't always save the files in the save place or move them to the same place. I forget things. The above will copy all folders taht match to the J: drive and include the contents of the folders. Reading this, I am thinking your looking to Collapse the tree then so if you had the following: Code: [Select]J:\data\1 J:\data\2 J:\data\3\4\5\6 That you would end up with: Code: [Select]J:\1 J:\2 J:\3 J:\4 J:\5 J:\6 ? First of all I am pretty SURE it wouldnt be able to be all done on same drive due to cyclic error issue. All data would need to be moved elsewhere and then brought back to J: I believe. Drawing a blank on best method to collapse the tree. Its really easy to just grab all files and throw them into root of J:, but if you have files with same file names that will be a problem. You only want it to be folders 1 level deep then as I showed above or am i not getting what your trying to do? |
|