History

fix copymasks

Sigrid Haflínudóttir committed 7 years ago

Commit b6a65b91 parent 701639b1 file · +4 −6Browse files

Unified · Split

split2flac+4−6
@@ -48,7 +48,7 @@ REPLAY_GAIN=0 · 47 unmodified lines
48FORMAT="${0##*split2}"48FORMAT="${0##*split2}"
49DIR="."49DIR="."
50OUTPATTERN="@artist/{@year - }@album/@track - @title.@ext"50OUTPATTERN="@artist/{@year - }@album/@track - @title.@ext"
51COPYMASKS="[Cc]overs \*.log \*.txt \*.jpg \*.cbr"51COPYMASKS="[Cc]overs *.log *.txt *.jpg *.cbr"
52COPYFILES=152COPYFILES=1
53ENCA_ARGS=""53ENCA_ARGS=""
54 54
@@ -677,14 +677,12 @@ split_file () { · 622 unmodified lines
677 old=`pwd`677 old=`pwd`
678 cd "${SDIR}"678 cd "${SDIR}"
679 $msg "\n${cG}Copying files:$cZ\n"679 $msg "\n${cG}Copying files:$cZ\n"
680 eval "for i in ${COPYMASKS}; do \680 eval "ls -1 ${COPYMASKS} 2>/dev/null | sed 's/^/ +> /g'"
681 test -r \"\$i\" && \
682 echo \" +> \$i\" 2>/dev/null; done"
683 cd "${old}"681 cd "${old}"
684 if [ ${DRY} -ne 1 ]; then682 if [ ${DRY} -ne 1 ]; then
685 eval "for i in ${COPYMASKS}; do \683 eval "for i in ${COPYMASKS}; do \
686 test -r/\"${SDIR}/\$i\" && \684 test -r /\"${SDIR}/\"\$i && \
687 cp -r \"${SDIR}/\$i\" \"\${OUT}/\"; done"685 cp -r \"${SDIR}/\"\$i \"\${OUT}/\"; done"
688 fi686 fi
689 fi687 fi
690 688

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t