Skip to content

Instantly share code, notes, and snippets.

@zitterbewegung
Created June 4, 2024 18:54
Show Gist options
  • Save zitterbewegung/698a9611dca97a276acdc7d19adab712 to your computer and use it in GitHub Desktop.
Save zitterbewegung/698a9611dca97a276acdc7d19adab712 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt update
sudo apt install fuse libfuse3-dev libicu-dev bzip2 libbz2-dev cmake git libattr1-dev zlib1g-dev g++
sudo snap install cmake --classic
git clone https://github.com/sgan81/apfs-fuse.git
cd apfs-fuse
git submodule init
git submodule update
mkdir build
cd build
cmake ..
ccmake .
# Choose fuse3 off -> c -> g -> q
make
sudo ./apfs-fuse /path/to/device /path/to/destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment