This commit is contained in:
simono41 2017-11-15 14:01:57 +01:00
parent f65ca5a992
commit 5fdd6e7eb9
3 changed files with 7 additions and 18 deletions

View file

@ -2,12 +2,8 @@
set -ex
if [ -z "${cuts}" ]] ;then
cuts=2
else
cuts="$1"
shift
fi
cuts="$1"
shift
name=0
# wenn 100 daten und 3 cuts = 33 files
@ -25,6 +21,7 @@ do
fi
i="$(expr $i + 1)"
echo "${1%/*}"
cd "${1%/*}" # gehe ins Verzeichnis
FILENAME=${1##*/} # Dateiname ist alles ab dem letzten '/'

View file

@ -2,12 +2,8 @@
set -ex
if [ -z "${cuts}" ]] ;then
cuts=2
else
cuts="$1"
shift
fi
cuts="$1"
shift
name=0
# wenn 100 daten und 3 cuts = 33 files

View file

@ -2,12 +2,8 @@
set -ex
if [ -z "${cuts}" ]] ;then
cuts=2
else
cuts="$1"
shift
fi
cuts="$1"
shift
name=0
# wenn 100 daten und 3 cuts = 33 files