2025-06-08 14:38:00 +02:00
|
|
|
#! /usr/bin/env python3
|
|
|
|
"""Build resume."""
|
|
|
|
|
|
|
|
from os import sep
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
from rwx import fs
|
|
|
|
from rwx.ps import run
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
root = Path(__file__).resolve().parent
|
|
|
|
root_input = root / "in"
|
|
|
|
root_output = root / "out"
|
|
|
|
fs.wipe(root_output)
|
2025-06-08 15:57:32 +02:00
|
|
|
fs.make_directory(root_output)
|
2025-06-08 14:38:00 +02:00
|
|
|
run(
|
|
|
|
"rsync",
|
|
|
|
"--archive",
|
|
|
|
"--partial",
|
|
|
|
"--progress",
|
|
|
|
"--verbose",
|
|
|
|
f"{root_input}{sep}",
|
2025-06-08 15:57:32 +02:00
|
|
|
f"{root_output}{sep}",
|
2025-06-08 14:38:00 +02:00
|
|
|
)
|