I have modified the script to use snar on restore but doesn't works too.
This is the new script:
#!/bin/sh
dirtest=tartest
if [ -d $dirtest ]; then
echo please delete the folder $dirtest and old tar \
or change the variable dirtest in this script.
exit 1
fi
# create dir1/file1
Package: tar
Version: 1.23-3
Severity: important
I have done a bash script to shows the bug:
#!/bin/sh
dirtest=tartest
if [ -d $dirtest ]; then
echo please delete the folder $dirtest or change the variable dirtest in
this script.
exit 1
fi
# create dir1/file1
mkdir -p $dirtest/dir1
2 matches
Mail list logo