diff --git a/convert_onefile_mp3_copy_cut.sh b/convert_onefile_mp3_copy_cut.sh index 24491ce..9bb1580 100755 --- a/convert_onefile_mp3_copy_cut.sh +++ b/convert_onefile_mp3_copy_cut.sh @@ -2,11 +2,14 @@ set -ex +#$(( (23-2)*2/3 )) +#cuts=$(( $1-1 )) cuts="$1" shift name=0 -# wenn 100 daten und 3 cuts = 33 files +# wenn 108 daten und 5 cute = 21 files je ein cut +# wenn 100 daten und 3 cuts = 33 files je ein cut files="$(expr $# / $cuts)" create=0 i=0 @@ -18,6 +21,7 @@ do if [ "$create" == "$i" ]; then create="$(expr $create + $files)" name="$(expr $name + 1)" + echo ${name} fi i="$(expr $i + 1)" diff --git a/convert_onefile_ogg_copy_cute.sh b/convert_onefile_ogg_copy_cut.sh similarity index 100% rename from convert_onefile_ogg_copy_cute.sh rename to convert_onefile_ogg_copy_cut.sh diff --git a/convert_onefile_ogg_cute.sh b/convert_onefile_ogg_cut.sh similarity index 100% rename from convert_onefile_ogg_cute.sh rename to convert_onefile_ogg_cut.sh