diff options
Diffstat (limited to 'bin/spliff')
-rwxr-xr-x | bin/spliff | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/spliff b/bin/spliff deleted file mode 100755 index 3767bac..0000000 --- a/bin/spliff +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/usr/bin/env zsh | ||
2 | |||
3 | PDF=$1 | ||
4 | OUTPUT="${PDF:r}_spliff.pdf" | ||
5 | N=`qpdf --show-npages $1` | ||
6 | qpdf --collate --empty --pages $1 1-$(((N+1)/2)) $1 $(((N+1)/2 + 1))-$N -- $OUTPUT | ||