📅  最后修改于: 2022-03-11 14:49:43.195000             🧑  作者: Mango
代码示例1
#check if tar file exists already
if [ -f "$file_name" ]
then
...
else
# create tar file
tar -cvf "$file_name" ...
...
fi