Strips a prefix from every file in a directory using shell parameter expansion, no rename utility required.
Tag
Snippets tagged batch
itertools.batched on 3.12 and later; the islice version works everywhere and never materialises the whole input.
Snippets tagged batch
Strips a prefix from every file in a directory using shell parameter expansion, no rename utility required.
itertools.batched on 3.12 and later; the islice version works everywhere and never materialises the whole input.