I've encountered a new need hopefully one of you can help with:
Given: One folder full of large-sized image files, around 15,000 files in all. Called IMAGE FOLDER.
Task:
-- Create another folder outside of IMAGE FOLDER with name XXX01 FOLDER.
-- For any images in IMAGE FOLDER whose name has "XXX01" in it, create a shortcut within XXX01 FOLDER to those images.
-- Create another folder outside of IMAGE FOLDER with name XXX02 FOLDER.
-- For any images in IMAGE FOLDER whose name has "XXX02" in it, create a shortcut within XXX02 FOLDER to those images.
-- Create another folder outside of IMAGE FOLDER with name XXX03 FOLDER.
-- For any images in IMAGE FOLDER whose name has "XXX03" in it, create a shortcut within XXX03 FOLDER to those images.
etc.
In total there will be 180 of these shortcut folders needing to be created. Each of these shortcut folders will have around 180 shortcuts in it.
Challenge:
Write program that does the above automatically.
Input --- folder in which to search.
Input --- what exactly to look for.
Input --- list of new folders to create.
Go!
Thanks to all of you.
Nicholas Kormanik
nkormanik@gmail.com
Given: One folder full of large-sized image files, around 15,000 files in all. Called IMAGE FOLDER.
Task:
-- Create another folder outside of IMAGE FOLDER with name XXX01 FOLDER.
-- For any images in IMAGE FOLDER whose name has "XXX01" in it, create a shortcut within XXX01 FOLDER to those images.
-- Create another folder outside of IMAGE FOLDER with name XXX02 FOLDER.
-- For any images in IMAGE FOLDER whose name has "XXX02" in it, create a shortcut within XXX02 FOLDER to those images.
-- Create another folder outside of IMAGE FOLDER with name XXX03 FOLDER.
-- For any images in IMAGE FOLDER whose name has "XXX03" in it, create a shortcut within XXX03 FOLDER to those images.
etc.
In total there will be 180 of these shortcut folders needing to be created. Each of these shortcut folders will have around 180 shortcuts in it.
Challenge:
Write program that does the above automatically.
Input --- folder in which to search.
Input --- what exactly to look for.
Input --- list of new folders to create.
Go!
Thanks to all of you.
Nicholas Kormanik
nkormanik@gmail.com












