Compare commits
3 Commits
9c2ff0fafb
...
f738ce4568
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f738ce4568 | ||
|
|
18016f86c9 | ||
|
|
12507b1e1a |
@ -1,13 +1,12 @@
|
|||||||
# DEV
|
# 1.0.5
|
||||||
### BUGS (Minor)
|
### BUGS (Minor)
|
||||||
* `toys/createindex`: handle empty channel count, bitdepth and sampling rate cleanly
|
* `toys/createindex`: handle empty channel count, bitdepth and sampling rate cleanly
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
* Allow ignoring microsecond precision in timestamps
|
* Allow ignoring microsecond precision in timestamps
|
||||||
* Don't print useless information (stuff that handled 0 files and such)
|
* Don't print useless information (stuff that handled 0 files and such)
|
||||||
* Store transcoded file paths relative to their destination's root
|
* Store transcoded file paths relative to their destination's root (db version 7)
|
||||||
* Add missing error codes (used but not declared)
|
* Add missing (used but not declared) error codes
|
||||||
* Support for newline character in filenames
|
|
||||||
|
|
||||||
# 1.0.4
|
# 1.0.4
|
||||||
## `BREAKING CHANGES`
|
## `BREAKING CHANGES`
|
||||||
|
|||||||
10
atom
10
atom
@ -697,11 +697,11 @@ endtime=$EPOCHSECONDS
|
|||||||
|
|
||||||
(( cron )) || echo -n $'\r'
|
(( cron )) || echo -n $'\r'
|
||||||
(( ran )) \
|
(( ran )) \
|
||||||
&& echo -n "Ran $ran tasks${failed:+, $failed of which failed,} \
|
&& echo -n "Ran $ran tasks${failed:+, $failed of which failed,}" \
|
||||||
in ${days:+$days days,} \
|
"in ${days:+$days days,}" \
|
||||||
${hours:+$hours hours,} \
|
"${hours:+$hours hours,}" \
|
||||||
${minutes:+$minutes minutes and} \
|
"${minutes:+$minutes minutes and}" \
|
||||||
$seconds seconds."
|
"$seconds seconds."
|
||||||
(( cron )) || echo -en "\033[K"
|
(( cron )) || echo -en "\033[K"
|
||||||
(( ran )) && echo
|
(( ran )) && echo
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
copyFiles_matching() {
|
copyFiles_matching() {
|
||||||
extension="${filename##*.}"
|
local extension="${filename##*.}"
|
||||||
|
if \
|
||||||
cp -al \
|
cp -al \
|
||||||
"$sourcepath/$filename" \
|
"$sourcepath/$filename" \
|
||||||
"$destdir/$destfile.$extension" \
|
"${destinationpath[$destination]}/$destdir/$destfile.$extension" \
|
||||||
2>/dev/null \
|
2>/dev/null \
|
||||||
|| cp -a \
|
|| cp -a \
|
||||||
"$sourcepath/$filename" \
|
"$sourcepath/$filename" \
|
||||||
"$destdir/$destfile.$extension"
|
"${destinationpath[$destination]}/$destdir/$destfile.$extension"
|
||||||
|
then
|
||||||
echo \
|
echo \
|
||||||
"UPDATE destination_files" \
|
"UPDATE destination_files" \
|
||||||
"SET filename=" \
|
"SET filename=" \
|
||||||
@ -30,4 +32,5 @@ copyFiles_matching() {
|
|||||||
"WHERE id=$destfileid;" \
|
"WHERE id=$destfileid;" \
|
||||||
>&3
|
>&3
|
||||||
(( ++copies ))
|
(( ++copies ))
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@ -98,7 +98,7 @@ getDestDir() {
|
|||||||
part=${part#*/}
|
part=${part#*/}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if ! [ -d "$destdir" ]
|
if ! [ -d "${destinationpath[$destination]}/$destdir" ]
|
||||||
then
|
then
|
||||||
mkdir -p "${destinationpath[$destination]}/$destdir"
|
mkdir -p "${destinationpath[$destination]}/$destdir"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user