Commit graph

22 commits

Author SHA1 Message Date
8c9588497c
Remove .absolute_path thanks to fspath. 2021-12-02 19:34:28 -08:00
05d59c2149
Migrate scripts from spinal.walk_generator to spinal.walk. 2021-05-17 17:00:51 -07:00
945bdec3d5
Add dot_ext var to brename. 2021-02-27 16:09:44 -08:00
51188b30ee
Remove redundant argparse dest=, fix some lint issues. 2021-02-20 21:01:55 -08:00
bf7af04a6f Use more specific condition to avoid case-change misses. 2021-01-13 17:45:04 -08:00
27a8a4c811 Add pathclass and betterhelp to brename.py. 2020-12-09 07:26:30 -08:00
0c529909c8 Flip condition to return early. 2020-12-07 18:02:41 -08:00
4a50ac5aed Update brename.py, delete fileprefix.py.
Fileprefix can be achieved with brename and the index/index1 vars.
2020-12-07 18:02:21 -08:00
35281c81ab Transition calls to getpermission to interactive. 2020-12-07 00:54:00 -08:00
c9b05f60a4 Add alias extension=ext, index1=index+1. 2020-12-05 14:44:50 -08:00
7b8301b324 Import stringtools and remove functions covered by that. 2020-11-26 18:20:00 -08:00
d8ec599e59 Build the pairs list more sensibly. 2020-09-30 13:16:27 -07:00
da8d1d6224 Add function for unicode NFC normalize. 2020-03-11 16:46:22 -07:00
af6176286c Use voussoirkit getpermission for yes/no prompts. 2020-02-09 12:08:38 -08:00
dc48da8a27 main should return args.func(args) value. 2020-02-08 17:23:43 -08:00
e79001f57c Oops. 2020-02-03 16:42:15 -08:00
f5b0bf8ffd Reverse paths before renaming, let children of renamed dirs go first.
This way, the parent directory is always after all of its children.
2020-02-01 16:40:14 -08:00
a5bfd69fa7 Let recursive brename also do directories. 2020-02-01 16:39:18 -08:00
4717ccf84e Fix excise to have no effect if s doesn't contain split marks. 2020-01-30 12:34:03 -08:00
514af31c18 Make noext, ext from the file basename instead of whole path. 2019-12-12 12:15:57 -08:00
e99cbe3e39 Add recurse option and more format variables to brename/breplace. 2019-12-10 12:59:20 -08:00
f44e46aab5 Initial commit. 2019-06-11 22:41:31 -07:00