A file was deleted

modularize
Sofus Albert Høgsbro Rose 2016-03-15 01:15:02 -04:00
parent 9294b1af37
commit 6d86da52d7
2 changed files with 3 additions and 24 deletions

View File

@ -1,21 +0,0 @@
# For 1080p Video on my Canon 7D Only, (as far as I know)
# Remember, timestamp affects if it'll be applied!
# Always use "dcraw -d -j -t 0" or "dcraw -v -d -j -t 0 -6 -T" when locating bad pixels!!
# Format is: pixel column, pixel row, UNIX time of death
# DOA - Discovered 3/14/16
432 481 0
197 1013 0
167 677 0
343 803 0
183 142 0
817 337 0
1507 561 0
1490 921 0
1887 673 0
284 149 0
1023 320 0
1059 1023 0
1639 988 0
322 953 0

View File

@ -392,7 +392,7 @@ for ARG in $*; do
mv "${TMP}/${bad_name}" "${TMP}/bp_gen"
cp $BADPIXEL_PATH "${TMP}/bp_imp"
{ cat "${TMP}/bp_gen" && cat "${TMP}/bp_imp"; } > "${TMP}/${bad_name}" #Combine my file with the generated file.
{ cat "${TMP}/bp_gen" && cat "${TMP}/bp_imp"; } > "${TMP}/${bad_name}" #Combine specified file with the generated file.
else
cp $BADPIXEL_PATH "${TMP}/${bad_name}"
fi
@ -518,7 +518,7 @@ for ARG in $*; do
#Move tiffs into place.
trap "rm -rf ${FILE}; exit 1" INT
for tiff in $TMP/*.tiff; do
mv $tiff $TIFF >/dev/null 2>/dev/null
mv $tiff $TIFF >/dev/null 2>/dev/null #Gets mad if a LUT was applied, as all the tiffs are then deleted. Suppress and noone will know :).
done
fi