Permalink
Browse files

Update README and AUTHORS, fix typos

  • Loading branch information...
1 parent 39fbbfe commit 749514a9e6e11e30785a3f563cff821ef7c749f0 @vlevit vlevit committed Jan 14, 2012
Showing with 8 additions and 7 deletions.
  1. +1 −0 AUTHORS
  2. +2 −2 README
  3. +2 −2 default.prof
  4. +3 −3 flacconvert.sh
View
@@ -2,3 +2,4 @@
Torbjörn Lönnemark <tobbez@ryara.net>
Jos van den Oever <jos@vandenoever.info> (multi-threading)
TheOV (Nero AAC Encoder)
+Vyacheslav Levit <levit.slava@gmail.com> (profiles, links, mirroring)
View
4 README
@@ -14,10 +14,10 @@ Features:
Usage:
- - Customize your settings at the top of the script.
+ - Copy default.prof to myprofile.prof and customize the settings.
- Comment out conv_arr entries for the formats you do not want to
encode.
- - Run the script.
+ - Run the script: flacconvert.sh myprofile.prof
Requirements:
View
@@ -31,10 +31,10 @@ copy_exts=( jpg bmp gif jpeg png cue log )
hard_link_exts=( )
-soft_link_exts=( )
+sym_link_exts=( )
# Remove transcoded, copied, or linked files and folders if corresponding files in flacfolder don't exist anymore. Set to 1 to activate.
-# CAUTION: THESE MAY CAUSE DATA LOSS
+# CAUTION: THIS MAY CAUSE DATA LOSS
mirror="0"
# Define the conversion "type". This is a reference for the other arrays and only those types will be converted to that are enabled here.
View
@@ -410,7 +410,7 @@ function remove_obsolete_files
# remove copied and linked files
find_exts "$dest" ${copy_exts[@]} ${hard_link_exts[@]} \
- ${soft_link_exts[@]} | while read destfile
+ ${sym_link_exts[@]} | while read destfile
do
srcfile=$(convert_path "$src" "$dest" "$destfile" "$convpath" 1)
if [ ! -e "$srcfile" ]
@@ -494,8 +494,8 @@ then
[ -e "$file" ] || ln "$extfile" "$file"
done
- echo "... soft linking files..."
- find_exts "$flacfolder" ${soft_link_exts[@]} | while read extfile
+ echo "... symbolic linking files..."
+ find_exts "$flacfolder" ${sym_link_exts[@]} | while read extfile
do
file="$(convert_path "$flacfolder" "$destfolder" \
"$extfile" "$convpath")"

0 comments on commit 749514a

Please sign in to comment.