Skip to content

Instantly share code, notes, and snippets.

@DevEarley
Created August 28, 2019 16:17
Show Gist options
  • Save DevEarley/a52da86a8b03c763ca53444c3d382298 to your computer and use it in GitHub Desktop.
Save DevEarley/a52da86a8b03c763ca53444c3d382298 to your computer and use it in GitHub Desktop.
Recursively get all images in a directory and copy to another folder.
for /R "C:\source\" %%G in (*.png *.jpg *.jpeg *.gif *.svg) do copy "%%G" "C:\target\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment