Commit graph

77 commits

Author SHA1 Message Date
94130e4803 Add betterhelp docstring. 2021-01-01 17:02:00 -08:00
84b35c3eaa Only purge deleted files, empty albums within the cwd. 2021-01-01 17:02:00 -08:00
968d84b3cb Add export_symlinks command. 2021-01-01 17:02:00 -08:00
6522bda09c Add basename in separate column so we can orderby it.
For a while I've wanted to be able to sort search results by the file's
basename. This is especially important for the cli. SQLite doesn't have
an easy way to split the filepath column by the slash, so the only
choice is to store basename as a separate column. I put it off for a
while but I think it's the right move. However we must not forget to
update it every time we update filepath, which is a bummer.
2021-01-01 17:02:00 -08:00
017633331b Fix yield photo should only happen when not exception. 2020-12-30 15:50:29 -08:00
023c540dbf Fix init command, should create _etiquette directory. 2020-12-30 15:50:29 -08:00
aa3bc2d100 Rename purge_deleted_photos -> purge_deleted_files. 2020-12-30 15:50:23 -08:00
a91366149b Transition calls to getpermission to interactive. 2020-12-07 00:54:53 -08:00
a604cfa5cd Add alias tag-breplace. 2020-11-27 15:40:13 -08:00
1cf6e64bfa Add remove_tag command. 2020-11-27 15:39:58 -08:00
469103e0ac Use voussoirkit.stringtools for comma_space_split. 2020-11-15 22:20:36 -08:00
f112a3d041 Add support for file glob patterns in add_tag command. 2020-11-15 22:20:30 -08:00
a1fd6c26c5 Add show_associated_directories command. 2020-11-15 17:49:28 -08:00
010c92cb73 Set photodb log_level from argv. 2020-11-08 20:20:04 -08:00
5792c3bdcf Let set_searchhidden take no params, and simplify duplicate checks. 2020-11-05 18:22:19 -08:00
e80f27e1fd Fix excplicit yield_photos, yield_albums in search_in_cwd. 2020-11-05 18:21:33 -08:00
d2b6aebee5 Add init, set/unset searchhidden, add_tag commands. 2020-11-03 00:07:29 -08:00
51fa9aac46 Alphabetize p_tag_breplace. 2020-10-25 20:21:27 -07:00
dd581a8274 Add easybake command. 2020-10-17 19:18:25 -07:00
a463e5451b Move tag_breplace_argparse to alphabetical order. 2020-10-17 19:12:22 -07:00
fc894bcd17 Add purge_deleted_photos, purge_empty_albums. 2020-09-30 13:44:09 -07:00
0ec072c797 Add breplace. 2020-09-29 18:08:04 -07:00
7d2e5bd9a9 Add digest_directory. 2020-09-28 14:28:15 -07:00
b9f4b2cf38 Pull out search_by_argparse into own function. 2020-09-28 14:25:10 -07:00
3e33285cff Add separate argument buckets so any subparser can search. 2020-09-28 14:24:17 -07:00
3738a60195 Cache photodbs throughout runtime. 2020-09-28 14:22:28 -07:00
454693f1dc Add etiquette_cli.py.
Just enough to pique your interest.
2020-09-27 10:57:31 -07:00