Need to remove last slash file/dir path for archive script, for it not to try to create .tar.gz inside of directory that will be removed in a second.
as this error happens:
tar: path_dir: file changed as we read it
But it does not stop rm -rf script from removing directory with it's contents, even if script didn't make it to create tar.gz
Need to remove last slash file/dir path for archive script, for it not to try to create .tar.gz inside of directory that will be removed in a second.
as this error happens:
tar: path_dir: file changed as we read itBut it does not stop
rm -rfscript from removing directory with it's contents, even if script didn't make it to create tar.gz