List of stuff using ATP / ATProto / AT Protocol atp.tilde.link
at main 24 lines 502 B view raw
1#! /usr/bin/env python3 2"""Render output.""" 3 4from os import sep 5from pathlib import Path 6 7from rwx import fs 8from rwx.ps import run 9 10if __name__ == "__main__": 11 root = Path(__file__).resolve().parent 12 root_input = root / "in" 13 root_output = root / "out" 14 fs.wipe(root_output) 15 fs.make_directory(root_output) 16 run( 17 "rsync", 18 "--archive", 19 "--partial", 20 "--progress", 21 "--verbose", 22 f"{root_input}{sep}", 23 f"{root_output}{sep}", 24 )