←back to thread

700 points yen223 | 6 comments | | HN request time: 0.648s | source | bottom
1. trynumber9 ◴[] No.42058084[source]
sips https://ss64.com/mac/sips.html
replies(4): >>42058625 #>>42061558 #>>42062327 #>>42066864 #
2. janandonly ◴[] No.42058625[source]
I have thousands of old photos that preview can open, but I can’t upload them into the photo.app because the file format is wrong. I’m going to try and use SIPS to convert them all into png first and then add to photo.app. Thanks for this pointer.
replies(1): >>42064444 #
3. yen223 ◴[] No.42061558[source]
sips looks really cool, thanks for pointing this out.

Not gonna lie, I missed this because I thought it was related to macOS SIP, System Integrity Protection. Which is something I am deeply uninterested in.

4. jftuga ◴[] No.42062327[source]
Nice. After reading the man page, I see that it can be used to convert image file formats:

    sips -s format png photo.HEIC --out photo.png
or resizing:

    sips -z 300 600 original.jpg --out new.jpg
5. FabHK ◴[] No.42064444[source]
Similarly, I've had trouble getting audio files into a format that the Books app understands (for ebooks), until I found

   afconvert -v -s 3 -f m4bf filename.mp3
6. hk1337 ◴[] No.42066864[source]
That's cool. I wish it could convert webp images.