Windows CMD Search and Delete file by name -
i have website dump has half gig worth of images have been converted various file sizes. structure goes like:
media/ 1/ 1.original.jpg 1.large.jpg 1.medium.jpg 1.small.jpg 2/ 2.original.jpg 2.large.jpg 2.medium.jpg 2.small.jpg etc...
i want command search through folders in media , delete image has original
in name. possible?
del /s ...\media\*original*.jpg
should delete files original
in name, extension .jpg
...\media
, subdirectories.
obviously, use extreme caution...
Comments
Post a Comment