I have massive number of files in my uploads folder. Is there a way of identifying those which are not linked to any post?
Note: some of those files are manually copied to uploads folder not via "media library"
|
I have massive number of files in my uploads folder. Is there a way of identifying those which are not linked to any post? Note: some of those files are manually copied to uploads folder not via "media library" |
|||
|
|
|
The easiest way would probably be: 1) perform a WordPress XML export ( Dashboard -> Tools -> Export ) 2) import into a clean WordPress install ( Dashboard -> Tools -> Import ) At this point, everything in the 3) backup/delete your original 4) copy over the |
|||||||||||
|