Use of appendFileTar() to append a file to a tar using the file's same
location as a temporary working file caused problems. More direct
'eval' command string formation and 'tar --append' usage solved empty
file problem.
# Script Metadata
scriptName="bklog"; # Define basename of script file.
# Script Metadata
scriptName="bklog"; # Define basename of script file.
-scriptVersion="0.1.21-debug"; # Define version of script.
+scriptVersion="0.1.22"; # Define version of script.
scriptURL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script.
scriptTimeStart="$(date +%Y%m%dT%H%M%S.%N)"; # YYYYmmddTHHMMSS.NNNNNNNNN
scriptHostname=$(hostname); # Save hostname of system running this script.
scriptURL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script.
scriptTimeStart="$(date +%Y%m%dT%H%M%S.%N)"; # YYYYmmddTHHMMSS.NNNNNNNNN
scriptHostname=$(hostname); # Save hostname of system running this script.
# Remove secured chunks from dir_tmp
for path in "${pathouts[@]}"; do
# Remove secured chunks from dir_tmp
for path in "${pathouts[@]}"; do
- # rm "$path" && vbm "STATUS:$fn:Removed:$path";
- :
+ rm "$path" && vbm "STATUS:$fn:Removed:$path";
done;
vbm "STATUS:$fn:Finished magicProcessWriteBuffer().";
done;
vbm "STATUS:$fn:Finished magicProcessWriteBuffer().";