fix(bin): adjust dload.sh for file management
This commit is contained in:
parent
9dd9f127b5
commit
bcf523b0dc
|
@ -41,14 +41,14 @@ echo "csvFileLower: $csvFileLower"
|
|||
csvFileLowerPath=${unzipDir}/$csvFileLower
|
||||
echo "csvFileLowerPath: $csvFileLowerPath"
|
||||
sed '1s/\(.*\)/\L\1/' $csvFilePath > $csvFileLowerPath
|
||||
rm $csvFilePath
|
||||
#TODO rm $csvFilePath
|
||||
#
|
||||
csvFileComma=${csvFileNoExt}-dot-lower-comma.csv
|
||||
echo "csvFileComma: $csvFileComma"
|
||||
csvFileCommaPath=${unzipDir}/$csvFileComma
|
||||
echo "csvFileCommaPath: $csvFileCommaPath"
|
||||
sed -E 's/(");(")/\1\,\2/g' $csvFileLowerPath > $csvFileCommaPath
|
||||
rm $csvFileLowerPath
|
||||
#TODO rm $csvFileLowerPath
|
||||
#
|
||||
ZHV_CSV_OUTPUT="$3"
|
||||
echo "ZHV_CSV_OUTPUT: $ZHV_CSV_OUTPUT"
|
||||
|
|
Loading…
Reference in New Issue