Category: Scripting
bash combine pdf or other image files into pdf
For FAST without RECOMPRESSION of PDF files, use Coherent PDF Command Line Tools Community Release *download includes a notarized OSX version of Catelina* 1cpdf one.pdf two.pdf three.pdf -o merged.pdf Using … Read More
BASH snippet – clean up stereo pairs and sort by folder L/R boom/lav
Assuming stardard protools L/R pairs. Assuming existance of “boom” and “lav” paths. 123456789101112131415161718192021#!/bin/bash moveit(){ local channel=`echo ${filename} | cut -d . -f2` if [ "$channel" == "L" ] … Read More
Bash Substring Matching within String
Source: http://www.thegeekstuff.com/2010/07/bash-string-manipulation/ Other options: replace, shortest, longest, etc. See full POST FOR DETAILS. 3. Shortest Substring Match Following syntax deletes the shortest match of $substring from front of $string ${string#substring} Following syntax … Read More