diff options
author | Yigit Sever | 2020-09-16 15:22:27 +0300 |
---|---|---|
committer | Yigit Sever | 2020-09-16 15:22:27 +0300 |
commit | 7419b9fc45ba291d5d10a9f5bea3fa5d33dfedc0 (patch) | |
tree | dbc1e308cfbb398f77c784b7ea52c08e5aeb8332 /bin/spliff | |
parent | 44ff427c77e4c3848d273b0bc3484435ec9528c7 (diff) | |
download | dotfiles-7419b9fc45ba291d5d10a9f5bea3fa5d33dfedc0.tar.gz dotfiles-7419b9fc45ba291d5d10a9f5bea3fa5d33dfedc0.tar.bz2 dotfiles-7419b9fc45ba291d5d10a9f5bea3fa5d33dfedc0.zip |
move bin to .local/bin
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 | ||