Skip to content

Instantly share code, notes, and snippets.

View Grunerd's full-sized avatar
👀
Looking for new opportunities

Alexander 'Gruni' Grunert Grunerd

👀
Looking for new opportunities
View GitHub Profile
@Grunerd
Grunerd / get-books.sh
Created April 11, 2025 10:12 — forked from yismailuofa/get-books.sh
Get URL Schemes For Your Apple Books on MacOS
#!/bin/bash
# Path to the BKLibrary file
BKLIBRARY_PATH=~/Library/Containers/com.apple.iBooksX/Data/Documents/BKLibrary
# Check if BKLibrary file exists
if [ ! -f "$BKLIBRARY_PATH/BKLibrary-"*".sqlite" ]; then
echo "BKLibrary file not found. Please make sure Books app is installed and has been opened at least once."
exit 1
fi