How to re-house images in uploads/YYYY/MM
My media items are not stored in YYYY/MM
subfolders of uploads
. Instead, I had cooked up some scheme to ingest posts, but seem to have declined/neglected to organise them that way.
So, I've got a combination of one big uploads
folder containing thousands of files, plus some specific subfolders in uploads, like logos
, people
, icons
. That's because not everything is related to a post.
But the images that do relate to posts... well, they are disorganised. I think I wish I had used date folders - at least, for post images. Now I'm 9,000+ in.
The question...
Is there any option for automatically organising these in YYYY/MM subfolders as they should have been? Anything that will, for example:
- spin through the library
- if image is associated, check post
- get YYYY and MM of post
- reorganise image in corresponding folder
?
Some of my images relate to ACF fields.
Topic media-settings media-library media Wordpress
Category Web