appendFileTar(){
# Desc: Appends [processed] file to tar
# Usage: appendFileTar [file path] [name of file to be inserted] [tar path] [temp dir] ([process cmd])
- # Version: 2.0.0
+ # Version: 2.0.1
# Input: arg1: path of file to be (processed and) written
# arg2: name to use for file inserted into tar
# arg3: tar archive path (must exist first)
# Append to tar
try tar --append --directory="$tmpDir" --file="$tarPath" "$fileName";
#yell "DEBUG:STATUS:$fn:Finished appendFileTar()."
-} # Append file to Tar archive
+} # Append [processed] file to Tar archive
#==BEGIN sample code==
myTar="/tmp/$(date +%s).tar";