Skip to content

Instantly share code, notes, and snippets.

@Freaky
Last active February 15, 2023 12:37
Show Gist options
  • Save Freaky/1929f3d832317f1d2c31ab6f6de12a0c to your computer and use it in GitHub Desktop.
Save Freaky/1929f3d832317f1d2c31ab6f6de12a0c to your computer and use it in GitHub Desktop.
build and run a stripped low-memory copy of jdupes 1.21.3
#!/bin/sh
set -e
test -e jdupes || git clone --depth=50 https://github.com/jbruchon/jdupes.git
cd jdupes
git checkout v1.21.3
gmake clean all LOW_MEMORY=1
strip ./jdupes
lldb ./jdupes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment