Simple touch+ln+ls pipeline (shorter; amznbot-style shape).
(rng: random.Random)
| 131 | |
| 132 | |
| 133 | def gen_hardlink_cmd(rng: random.Random) -> str: |
| 134 | """Simple touch+ln+ls pipeline (shorter; amznbot-style shape).""" |
| 135 | to = _pick(TOUCH_VARIANTS, rng) |
| 136 | ln1, ln2 = _pick(LN_VARIANTS, rng), _pick(LN_VARIANTS, rng) |
| 137 | ls = _pick(LS_VARIANTS, rng) |
| 138 | return f"{to} datei; {ln1} datei hardlink; {ln2} -s datei softlink; {ls} -il *" |
| 139 | |
| 140 | |
| 141 | BOT_TEMPLATES = [ |