This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for i in *.JPG; do | |
| magick $i hald_clut_file.png -hald-clut -set colorspace RGB -separate -seed 1000 -attenuate 0.42 +noise gaussian -combine -sharpen 10 output/$i; | |
| done; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| mkdir -p duplicates && find . -name '*.CR2' -execdir sh -c '[ ! -f "${0%.CR2}.jpg" ]' {} \; -execdir mv {} duplicates/ \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # play into core audio | |
| cat file | sox -q -t raw -r 16000 -b 8 -e unsigned-integer - -t coreaudio vol 0.5 | |
| # save as wav | |
| cat file | sox -q -t raw -r 16000 -b 8 -e unsigned-integer - output.wav |