October 3rd, 2011, 04:55 PM #1
- Join Date
- Oct 2011
Removing subdirectories from parent dirs
Ok, so I hope this is the right place for this question.
This is an example of the file structure I have now (the names are fictional and irrelevant to the question)
C:\Media\Movies\Folder<N>\%moviename%\<additional sub directories and files here>
C:\Media\Movies\Folder<N+1>\%moviename%\<additiona l sub directories and files here>
C:\Media\Movies\Folder<N+2>\%moviename%\<additiona l sub directories and files here>
What I want to do is move\copy the 'moviename' subdirectories into one directory like:
G:\Whatever\%Moviename%\<additional sub directories and files here>
Basically I want to flatten the top levels of the tree while keeping those 4th from the top intact with their subdirectories and files.
Manually this would require me to navigate to the decade directory, select the movie name folders, and copy them into my destination.
I would like to do this with robocopy or xxcopy or something but cannot figure how to select a tree level to start with (given that the parent folders have a iteration at the end) or specify wildcards for directories etc...
Does anybody have any ideas how to do this automated?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By BattleToad in forum Linux and UnixReplies: 2Last Post: March 19th, 2006, 10:08 PM
By VHockey86 in forum Applications and Operating SystemsReplies: 4Last Post: May 12th, 2004, 04:17 PM
By Epidemic in forum IMO CommunityReplies: 21Last Post: June 24th, 2003, 01:26 PM
By no1_vern in forum IMO CommunityReplies: 3Last Post: December 6th, 2002, 04:24 AM