Make tar less verbose

This commit is contained in:
Dmitry Ivanov
2022-09-29 18:42:54 +03:00
parent 8832cc65fe
commit 1bac60ba31

View File

@@ -12,7 +12,7 @@ from pathlib import Path
def make_tarfile(output_filename, source_dir):
cmd = ["tar", r"--transform=s/\.\///", "-C", str(source_dir), "-cvf", str(output_filename), "."]
cmd = ["tar", r"--transform=s/\.\///", "-C", str(source_dir), "-cf", str(output_filename), "."]
print('Command: ', ' '.join(cmd))
r = subprocess.check_output(cmd).decode()
print(textwrap.indent(r, '> '))