|
|
|
|
@ -168,4 +168,26 @@ rclone copy file_location file_destination \
|
|
|
|
|
--log-file rclone.log \ |
|
|
|
|
--log-level INFO |
|
|
|
|
|
|
|
|
|
# PDF sheetmusic commands |
|
|
|
|
|
|
|
|
|
## check size |
|
|
|
|
|
|
|
|
|
`pdfinfo filename.pdf` |
|
|
|
|
|
|
|
|
|
## resize to letter |
|
|
|
|
|
|
|
|
|
`gs -sDEVICE=pdfwrite \ |
|
|
|
|
-sPAPERSIZE=letter \ |
|
|
|
|
-dFIXEDMEDIA \ |
|
|
|
|
-dPDFFitPage \ |
|
|
|
|
-dNOPAUSE -dBATCH \ |
|
|
|
|
-sOutputFile=output.pdf input.pdf` |
|
|
|
|
|
|
|
|
|
## batch resize to letter |
|
|
|
|
|
|
|
|
|
`mkdir -p resized_music |
|
|
|
|
for f in *.pdf; do |
|
|
|
|
gs -sDEVICE=pdfwrite -sPAPERSIZE=letter -dFIXEDMEDIA -dPDFFitPage -dNOPAUSE -dBATCH -sOutputFile="resized_music/$f" "$f" |
|
|
|
|
done` |
|
|
|
|
|
|
|
|
|
> > > > > > > f99d1ed ([nb] Edit: cli_commands.md) |
|
|
|
|
|