Use this SQL to remove all images/documents/etc from your media library
1 – Run these in phpmyadmin
DELETE FROM wp_postmeta WHERE post_id IN ( SELECT id FROM wp_posts WHERE post_type = 'attachment' ) ;
DELETE FROM wp_posts WHERE post_type = 'attachment'
2 – Manually delete all the year folders in the /wp-content/uploads folder.