Skip to content

Instantly share code, notes, and snippets.

@zycon
Created April 30, 2023 17:53
Show Gist options
  • Save zycon/856c7eac09612287f81f4dc08d509d96 to your computer and use it in GitHub Desktop.
Save zycon/856c7eac09612287f81f4dc08d509d96 to your computer and use it in GitHub Desktop.
Bash Loop iteration on commands
// converting canon cr2 images to jpeg
//create a folder named "Converted"
for i in *.CR2; do sips -s format jpeg $i --out Converted/$i.jpg;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment