Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Process Photobooth'd receipts
# when processing receipts, I need to have them rotated 90-deg and
# flipped horizontally because of how photobooth stores them.
# Iterate through all the files in the directory, rotate, and flip
for file in *.*
sips -r 90 "$file"
sips -f horizontal "$file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.