Have a directory structure (see code A) that I need to parse for files older than 30 days and *move* them to a network share drive.
The destination needs to drop the files/directories into a directory based on the first three characters of the original directory. For example see Code B
note the creation of the additional ABC and DEF directories which group them.
quick and dirty solution is all we need as this is a stop gap measure, though it should create missing directories in the target as needed.
Code A +++++++++++++++
Code B +++++++++++++++
The above examples would be moved into the following structure;