12-04-2009, 04:54 AM
Assuming you are in the directory where all the photo files reside, and that you want to add directories in the same directory:
$ mkdir -p 2009-11/08
$ mv 91108* 2009-11/08
will create the new directory (actually a new directory 2009-11 and a subdirectory 08 within that) and move all files beginning 91108 into the new (sub)directory.
I'll have to think a bit about processing all of 2009 ...
$ mkdir -p 2009-11/08
$ mv 91108* 2009-11/08
will create the new directory (actually a new directory 2009-11 and a subdirectory 08 within that) and move all files beginning 91108 into the new (sub)directory.
I'll have to think a bit about processing all of 2009 ...