Compare commits
No commits in common. "ec5a09da64ac81e5499cae7bb9bccfaf1144cd31" and "bb277234ea5f7201158a69bcd0a9271daefcac1a" have entirely different histories.
ec5a09da64
...
bb277234ea
@ -1,8 +0,0 @@
|
||||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"path": ".."
|
||||
}
|
||||
]
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@ alias rsync_default="rsync $DEFAULT_RSYNC --checksum"
|
||||
# source /usr/share/bash-completion/completions/rsync
|
||||
# complete -F _rsync rsync_default
|
||||
alias rsync_backup="rsync $DEFAULT_RSYNC --checksum --times --group --owner --delete"
|
||||
alias rsync_move="rsync $DEFAULT_RSYNC --checksum --remove-source-files"
|
||||
alias rsync_move='rsync $DEFAULT_RSYNC --checksum --remove-source-files'
|
||||
alias rsync_update="rsync $DEFAULT_RSYNC --update --times"
|
||||
alias rsync_copy="rsync $DEFAULT_RSYNC --ignore-times"
|
||||
alias off='systemctl poweroff'
|
||||
|
File diff suppressed because one or more lines are too long
@ -8,9 +8,6 @@ declare -A replacements
|
||||
unset replacements[0]
|
||||
replacements[' ']='_';
|
||||
replacements[':']='_';
|
||||
replacements["'"]='_';
|
||||
replacements['(']='_';
|
||||
replacements[')']='_';
|
||||
while [[ $# > 0 ]]; do
|
||||
replacements["$1"]="$2";
|
||||
shift 2;
|
||||
|
@ -2,8 +2,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
# ensure existence of destination folder
|
||||
dir="$(pwd)"
|
||||
dest=${dir%/*}/${dir##*/}_reencode
|
||||
dest=../reencode
|
||||
if [[ !(-d $dest) ]]; then
|
||||
mkdir $dest
|
||||
fi
|
||||
|
@ -18,8 +18,7 @@ if [[ -z $vbr ]]; then
|
||||
fi
|
||||
|
||||
# ensure existence of destination folder
|
||||
dir="$(pwd)"
|
||||
dest=${dir%/*}/${dir##*/}_reencode
|
||||
dest=../reencode
|
||||
if [[ !(-d $dest) ]]; then
|
||||
mkdir $dest
|
||||
fi
|
||||
|
@ -13,14 +13,12 @@ while [[ $# > 0 ]]; do
|
||||
done
|
||||
|
||||
# ensure existence of destination folder
|
||||
dir="$(pwd)"
|
||||
dest=${dir%/*}/${dir##*/}_ogg
|
||||
dest=../transcode_m4a
|
||||
if [[ !(-d $dest) ]]; then
|
||||
mkdir $dest
|
||||
fi
|
||||
|
||||
for file in ./*.$file_suffix; do
|
||||
# `-vbr on -application audio` should be default, but let's be sure
|
||||
echo "ffmpeg -i '$file' -c:a libopus -b:a 64k -vbr on -application audio $map '$dest/${file%$file_suffix}ogg'";
|
||||
ffmpeg -i "$file" -c:a libopus -b:a 64k -vbr on -application audio $map "$dest/${file%$file_suffix}ogg";
|
||||
echo "ffmpeg -i '$file' -c:a libfdk_aac -profile:a aac_he -b:a 64k $map -movflags +faststart '$dest/${file%$file_suffix}m4a'";
|
||||
ffmpeg -i "$file" -c:a libfdk_aac -profile:a aac_he -b:a 64k $map -movflags +faststart "$dest/${file%$file_suffix}m4a";
|
||||
done
|
Loading…
Reference in New Issue
Block a user