3280b423e4
Rewrite sdate to take strftime strings.
...
I decided not to attempt to handle %c for locale-dependent
full date strings.
2020-07-07 22:17:40 -07:00
d5a59d9f9e
Use argparse for crop.py.
2020-07-07 22:10:21 -07:00
cb84584202
Add --inplace argument to overwrite input file.
2020-07-07 22:09:48 -07:00
17afe6a9b9
Add sole_subdir_lift.py.
2020-06-30 20:30:11 -07:00
51617f6ea5
Use argparse for resize.py.
2020-06-30 20:27:35 -07:00
4976c7f188
Add argument --recurse to do files in subdirectories too.
2020-06-25 14:16:51 -07:00
f812e65b80
Add argument --recycle to recycle input file after rarpar.
2020-06-24 22:27:12 -07:00
c8fc83dacf
Add stricter requirement that callable returns 0 or None.
...
Not just any falsey value will do.
2020-06-24 22:26:27 -07:00
19ce9fea03
Raise custom NotEnoughSpace exception instead of IOError.
2020-06-22 17:41:51 -07:00
581893fa7c
Move touch.py to voussoirkit.
2020-06-22 17:39:55 -07:00
67f390cce2
Move lines that modify parent out of the child class.
...
Previous code was bad for modularity. Not that I'm using this
as a module anywhere but it caught my attention so may as well
fix it.
2020-06-17 13:46:22 -07:00
43fd39eb3e
Add grayscale.py.
2020-06-17 13:43:25 -07:00
8ea4a0e283
Add dns.py.
2020-06-03 20:35:33 -07:00
680dd13d88
Quietly catch keyboardinterrupt.
2020-06-03 20:35:07 -07:00
d5eb481863
Add some adb bat scripts.
2020-05-16 22:44:15 -07:00
07e4844303
Add errorlevel.py.
2020-05-14 21:49:59 -07:00
6aeefcb4b1
Add watchforlinks.py.
2020-05-14 21:40:50 -07:00
123f475d65
Add crc32.py.
2020-05-12 18:17:17 -07:00
e5e0166ee2
Add internetcheck.py.
2020-04-22 16:03:48 -07:00
b146251611
Add thank you to stackoverflow credit.
2020-04-02 20:29:22 -07:00
32395c0935
Add prune_dirs module docstring.
2020-03-17 13:24:33 -07:00
83d5993b66
Add rarpar.py.
2020-03-13 14:59:49 -07:00
da8d1d6224
Add function for unicode NFC normalize.
2020-03-11 16:46:22 -07:00
f98364b814
Fix handling of lnks that have commandline arguments.
2020-02-29 14:28:15 -08:00
b0ae28b7a3
Add inputrename.py.
2020-02-27 20:53:00 -08:00
a8c78acbdc
Include language id in output filename.
2020-02-27 20:52:28 -08:00
41e86526a7
Add ampcode.py.
2020-02-26 13:28:32 -08:00
9e69b313b9
Add aigu.py and boxchars.py.
2020-02-26 13:28:24 -08:00
57fd5955e1
Refactor to perform both audios and subs in a single command.
2020-02-19 15:19:30 -08:00
651861b8b4
Add ac3 and flac extensions.
2020-02-19 15:15:25 -08:00
48e6840c35
Oops, fix rev argument not being used.
2020-02-19 15:08:02 -08:00
2b6bbd276e
Move all git commands into their own functions.
2020-02-19 14:20:54 -08:00
7fc0a5d83c
New exc NoConfigFile, can pass directories as arguments.
2020-02-19 14:06:11 -08:00
743f25cf48
Merge checkup into gitcheckup_once, organize functions.
2020-02-19 13:31:57 -08:00
015957f72d
Show NoUpstream error in checkup output.
2020-02-19 12:49:30 -08:00
e557c1a64f
Raise custom exception for NoUpstreamBranch.
...
Originally I merged these two commands to reduce the number of
subprocess spawns, but I found that the majority of execution time
was git status anyway. These ones are fairly cheap.
2020-02-19 12:01:13 -08:00
d0c5d8ff43
Add reg_extension_icon.py.
2020-02-16 16:29:02 -08:00
c36c9d2584
Use voussoirkit getpermission.
2020-02-16 09:50:46 -08:00
845eebf40f
Add argument root_path to start a search from somewhere else.
2020-02-15 18:03:04 -08:00
c58b851427
Add delete_files.py.
2020-02-09 23:33:24 -08: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
fd29170f76
Add duplicate_dirs.py.
2020-02-06 11:51:39 -08:00
80e55383f2
Add extension_summary.py.
2020-02-06 11:51:30 -08:00
220eff266f
Clean up the filenamescramble scripts which were woefully outdated.
2020-02-05 21:48:37 -08:00
d9a98a7e27
Use voussoirkit.imagetools for fit_into_bounds function.
2020-02-04 19:34:39 -08:00
37093aebe6
Reduce number of unnecessary subprocesses with better conditions.
...
The code is a little uglier with more ifs and elses but saving
some subprocess calls is worth it.
2020-02-04 19:01:31 -08:00
4652f9b745
Centralize subprocess calls into my own check_output function.
...
Helps me to do debugging on all the calls, and saves me from copying
those parameters all the time.
2020-02-04 18:58:11 -08:00
d5cd12000d
Update for pathclass.Extension changes.
2020-02-03 20:25:23 -08:00
a5c8887f47
Only perform plain in
search if neither glob nor regex enabled.
2020-02-03 20:25:11 -08:00