Add 'Netcup' folder. Fix error concerning bank statements.
This commit is contained in:
parent
8266e04fb4
commit
83c39e7886
@ -310,10 +310,10 @@ else
|
||||
fi
|
||||
|
||||
found_bank_transaction=false
|
||||
echononl "Copy '${src_dir_bank_statement}/Umsatz-${month}-${year_short}.pdf' \n to directory '$dir_cash_flow'.."
|
||||
if [[ -f "${src_dir_bank_statement}/Umsatz-${month}-${year_short}.pdf" ]]; then
|
||||
echononl "Copy '${src_dir_bank_statement}/Umsatz-${year}-${month}.pdf' \n to directory '$dir_cash_flow'.."
|
||||
if [[ -f "${src_dir_bank_statement}/Umsatz-${year}-${month}.pdf" ]]; then
|
||||
found_bank_transaction=true
|
||||
cp -a "${src_dir_bank_statement}/Umsatz-${month}-${year_short}.pdf" "$dir_cash_flow/" > $logfile 2>&1
|
||||
cp -a "${src_dir_bank_statement}/Umsatz-${year}-${month}.pdf" "$dir_cash_flow/" > $logfile 2>&1
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo_ok
|
||||
else
|
||||
@ -369,6 +369,7 @@ while IFS='' read -r -d '' file || [[ -n $file ]] ; do
|
||||
fi
|
||||
done < <(find "$base_dir_cash_flow" -mindepth 1 -maxdepth 1 -type f -name "ServiceVertraege_${year}_Stand-${_year}-${_month}-*.xlsx" -print0)
|
||||
|
||||
echo -e "\n\tServiceVertraege_${year}_Stand-${_year}-${_month}-*.xlsx\n"
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,7 @@ logfile=$(mktemp)
|
||||
|
||||
base_dir=/home/chris/O.OPEN/Büro/Ausgaben
|
||||
|
||||
dirs="Bülos Hetzner InternetX Sinma Sonstige Telekom"
|
||||
dirs="Hetzner InternetX Netcup STB-Telgmann Sinma Sonstige Telekom"
|
||||
dirs_telekom="Festnetz MobileData MobileFon"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user