'Flatten folders' by moving all sub-folders . . .
Posted: 13 May 2010 14:34
Hi all,
Started using XYplorer a few weeks ago and I've been searching and searching for how to do this with no luck. Any tips or suggestions would be most welcome
What I have is thousands of photo's in various folders and subfolders, so in a tree view it looks something like this (but MUCH larger!):
New York/city/pic1.jpg
New York/city/pic2.jpg
New York/city/pic3.jpg
New York/city/pic4.jpg
New York/city/library/pic1.jpg
New York/city/library/pic2.jpg
New York/city/library/pic3.jpg
New York/city/library/pic4.jpg
New York/city/buildings/pic1.jpg
New York/city/buildings/pic2.jpg
New York/city/buildings/pic3.jpg
New York/city/buildings/pic4.jpg
What I'd like to be able to do is to search the folder 'New York' for all image files, then move those files into a folder in the root directory which is named the same as the folder the images were originally in. If any of that makes sense?
So the deepest sub folder with contents (of any kind) is moved to a selected root directory
When opened the root folder would look like is this:
city/pic1.jpg
city/pic2.jpg
city/pic3.jpg
city/pic4.jpg
library/pic1.jpg
library/pic2.jpg
library/pic3.jpg
library/pic4.jpg
buildings/pic1.jpg
buildings/pic2.jpg
buildings/pic3.jpg
buildings/pic4.jpg
So all subfolders with contents have been moved to the selected root directory
I've searched and searched for a method to do this on a selected directory containing many subfolders, but can't find anything that looks possible. I've found the 'show all items in branch' command, which is excellent, but it still means I have to manually go through hundreds of subfolders, copying files and creating new folders for them
Thanks guys and really sorry if this seems like a stupid task, but it would be immensely beneficial to me
Biggy
Started using XYplorer a few weeks ago and I've been searching and searching for how to do this with no luck. Any tips or suggestions would be most welcome
What I have is thousands of photo's in various folders and subfolders, so in a tree view it looks something like this (but MUCH larger!):
New York/city/pic1.jpg
New York/city/pic2.jpg
New York/city/pic3.jpg
New York/city/pic4.jpg
New York/city/library/pic1.jpg
New York/city/library/pic2.jpg
New York/city/library/pic3.jpg
New York/city/library/pic4.jpg
New York/city/buildings/pic1.jpg
New York/city/buildings/pic2.jpg
New York/city/buildings/pic3.jpg
New York/city/buildings/pic4.jpg
What I'd like to be able to do is to search the folder 'New York' for all image files, then move those files into a folder in the root directory which is named the same as the folder the images were originally in. If any of that makes sense?
So the deepest sub folder with contents (of any kind) is moved to a selected root directory
When opened the root folder would look like is this:
city/pic1.jpg
city/pic2.jpg
city/pic3.jpg
city/pic4.jpg
library/pic1.jpg
library/pic2.jpg
library/pic3.jpg
library/pic4.jpg
buildings/pic1.jpg
buildings/pic2.jpg
buildings/pic3.jpg
buildings/pic4.jpg
So all subfolders with contents have been moved to the selected root directory
I've searched and searched for a method to do this on a selected directory containing many subfolders, but can't find anything that looks possible. I've found the 'show all items in branch' command, which is excellent, but it still means I have to manually go through hundreds of subfolders, copying files and creating new folders for them
Thanks guys and really sorry if this seems like a stupid task, but it would be immensely beneficial to me
Biggy