Commit graph

68 commits

Author SHA1 Message Date
Lilian Jónsdóttir d79f0109fc make walk_dir ignore all hidden subdirectories if ignorehidden is true 2024-06-19 20:25:16 -07:00
Lilian Jónsdóttir 0b038f8663 make walk_dir not return self 2024-06-19 20:25:16 -07:00
Lilian Jónsdóttir 85d7d944b4 add total files to table header 2024-06-19 20:23:23 -07:00
Lilian Jónsdóttir 7b61227158 dramatically speed up selecting large amount of files 2024-06-19 20:23:05 -07:00
Lilian Jónsdóttir f78bec0a27 add filters for file/dir only and ignoring hidden 2024-06-19 20:23:05 -07:00
Lilian Jónsdóttir 2f56ecf40b add interactive mode
when run with no args, interactive mode is launched
files in trash are listed, select files, and use r/c to restore/clean them
2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 5467d7a549 make filter clean input filenames 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 75b6c1152a make unexpand not replace $PWD if $PWD == $HOME 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 00b5808b1a add keybinds for selection: all, none, invert 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 5942eee85d replace $PWD in unexpand 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 00cee25075 add interactive tables for all commands 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 09161611d0 don't show size if is folder 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 4d929160d1 add original-path flag for list/restore/clean files in trash 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir dddc6f6d33 some cleanup and better logging 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 2e82cd2388 trash files instead of containing dir
oops
2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 3e3b97b2c1 clean trashed directories correctly 2024-06-19 19:19:06 -07:00
Lilian Jónsdóttir 6794b3a9b2 add reverse glob and regex filters 2024-06-19 19:19:06 -07:00
Lilian Jónsdóttir cc1523034b initial commit, it does the thing 2024-06-19 19:19:06 -07:00