Skip to content

Instantly share code, notes, and snippets.

@ManzDev
Last active March 27, 2016 00:43
Show Gist options
  • Save ManzDev/5ca83226e1c38483c59e to your computer and use it in GitHub Desktop.
Save ManzDev/5ca83226e1c38483c59e to your computer and use it in GitHub Desktop.
Delete corrupted JPG (require ImageMagick)
mkdir corrupted
for /R %%d in (*.jpg) do (identify "%%d" & if ERRORLEVEL 1 move "%%d" corrupted)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment