I hereby claim:
- I am lordtangent on github.
- I am lordtangent (https://keybase.io/lordtangent) on keybase.
- I have a public key ASCvqJkvbE7l0nqPoGx0klQZHkvZfZE_wgnoJJOQay4JPQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Have a bunch of exr images on disk in the wrong codec that you need to convert? | |
# you could tie up a Nuke or Fusion and make a new copy of them to convert them, then blow away the originals. | |
# OR, you could just convert them in place with OpenImageIO http://openimageio.org | |
# "zip" is 16 line zip "zips" is single scan line zip (Nuke preferes single line zip over everything else) | |
# "piz" wavelet is more compact but slower to decode. | |
find . -type f -iname *.exr -exec iconvert -v --inplace --compression zip --scanline '{}' \; | |
# change file extention with find and bash | |
find -type f -name *.exr -exec bash -c 'file_name="{}"; echo "${file_name} ${file_name%.exr}.png"' \; |
#!/bin/bash | |
# /etc/auto.sshfs automount script | |
# This file must be executable to work! ( chmod 755 ) | |
key="${1/%:/}" | |
user="${key/@*/}" | |
t="${key/*@/}" | |
server="${t/:*/}" | |
tp="${t/*:/}" | |
port="${tp/\/*/}" |