Fixes & Enhancements #6

Merged
me merged 35 commits from dev into main 2025-10-14 15:01:21 -07:00

35 Commits

Author SHA1 Message Date
d98bbb02a9 Quote the backup contents with an * so that backups get ignored properly. 2025-10-14 12:21:38 -07:00
00c87328ab Don't back up backup files. 2025-10-14 11:16:52 -07:00
b4cdea984e Add sleep to ansible-pull commands. Change weekly force to daily. Use explicit command rather than rarely used file. 2025-10-14 11:09:24 -07:00
4651726268 Do a full truncate of backup directory so that partial zips with weird hash names and no file extension get deleted as well. 2025-10-14 08:36:53 -07:00
3410cf4426 Ensure backup's TRASH folder gets created and used properly. 2025-10-14 08:35:21 -07:00
d5393f60f3 Add cleanup for backups. 2025-10-14 08:34:33 -07:00
5f882df33f Add ability to use aliases with sudo. 2025-10-14 08:22:16 -07:00
0dfbd0bd68 Add ls alias for only showing size, not all the file data. 2025-10-14 08:18:20 -07:00
0d5b095ad6 Remove directory from basename variable. 2025-10-14 08:14:47 -07:00
07e32decf8 Fixes and enhancements for system backups. 2025-10-14 08:12:19 -07:00
afc3b20785 Reference script version of backup with function and add aliases. 2025-10-14 07:44:52 -07:00
ed160da316 Move backup function into script so that cron can access it. 2025-10-14 07:44:26 -07:00
2f08b1414e Use more standardized backup directory, outside of RAM. 2025-10-14 07:07:28 -07:00
c279884da2 Fix extra '. Really need to permanently turn off autocompletion type stuff, it keeps coming back on. 2025-10-09 13:30:06 -07:00
df8b330893 Add and use functions for simpler and more readable logging. 2025-10-09 12:38:56 -07:00
08a7a22dde Add to TBD. 2025-10-09 12:27:46 -07:00
57243f65e3 Do not use OR, .list file was not getting changed. 2025-10-09 11:12:29 -07:00
35469851b3 Fix find command to use OR when checking for multiple extensions. Fix sources extension to be plural. 2025-10-09 11:08:08 -07:00
2cf4a348c3 Fix backup function not removing old files. 2025-10-09 10:41:40 -07:00
4a33adf073 Add TBD for timezones. 2025-10-09 10:41:27 -07:00
fb00d3e6bc Separate file sections with periods. 2025-10-09 07:49:24 -07:00
267a260e90 Use hyphen not underscore for timestamp. 2025-10-09 07:48:52 -07:00
03b9f7e1b2 Add function for just the date. 2025-10-09 07:48:27 -07:00
57dc62a74a Change filename to match new Docker format. 2025-10-09 07:47:09 -07:00
f7c321bf23 Sort the cleanup by filesize. 2025-10-09 06:59:41 -07:00
130b243be3 Add method to clean up hidden trashed files, usually from Android. 2025-10-09 06:54:36 -07:00
400ef8400c Change what clean does to be much safer. 2025-10-06 18:35:20 -07:00
d35d9ccdd2 Add cleaning of generated PDF files. 2025-10-06 18:21:24 -07:00
a730919b43 Purge existing PDFs first so that old names get removed. 2025-10-04 14:10:31 -07:00
4e9e714504 Add comment! 2025-10-04 06:56:22 -07:00
c0ba27e782 Add command to regenerate all ebooks. 2025-10-04 06:55:42 -07:00
6d2a822323 Add System to local system backup file. 2025-10-04 06:33:37 -07:00
a8e6e0b6c6 Ensure that debian.source files also get modified by debian-upgrade. 2025-10-04 06:32:37 -07:00
93b919f48b Remove bool filter where it does not always makes sense. Should fix swap files from not getting created. 2025-10-03 18:53:20 -07:00
215e7dee69 Add more eBooks to the reseed list. 2025-09-30 14:04:34 -07:00