Commit Graph

144 Commits (master)

Author SHA1 Message Date
David Kebler c6c8f9876b refactor snapshot_send and mvlnbk
add clean_locale
2024-11-04 07:01:55 -08:00
David Kebler df297025d4 fixed path path 2024-11-02 16:37:30 -07:00
David Kebler 56be5950c8 refactor for shell.env files are loaded early at user login 2024-11-02 11:30:32 -07:00
David Kebler ea8c78f72c add port listen 2024-11-01 14:01:22 -07:00
David Kebler fb7c510d2b refactor way list command functions 2024-10-17 12:33:40 -07:00
David Kebler 263ba5296d add dir2subvol function to convert directory to subvolume
fix - bug in copy function where collected arguments were erased.
2024-10-17 11:24:08 -07:00
David Kebler d5c89e284e fix .bashrc for root so it loads uci correctly 2024-10-14 12:51:12 -07:00
David Kebler 9f677a3303 use -xdev and not -mount for linux find as it works for busybox and -mount is deprecated
add latest functions to btrbk library
2024-09-15 18:21:32 -07:00
David Kebler 9c51109d2e fix folder_snapshot to handle @ snapshots 2024-08-23 14:15:40 -07:00
David Kebler 2cadfcb4e2 arhhh fixed again 2024-08-21 12:47:44 -07:00
David Kebler 79a85da5b2 fix find_subvolumes 2024-08-21 12:40:04 -07:00
David Kebler 3112ba0288 added shell.env.override file to make it easier to set special env without editing shell.env
added always available uci_shell_update function to update uci shell easily
2024-08-19 09:45:14 -07:00
David Kebler 7582ca6b73 added smenu library
changed bptl.run to just btpl
2024-08-05 17:03:43 -07:00
David Kebler 1505382d97 improved the bindfs library to make it easier to mount and unmount
now will call nemo at the mountpoint as well
2024-08-03 14:49:44 -07:00
David Kebler 3be1dc8325 added some additional systemd utility alias and functions 2024-08-03 14:49:03 -07:00
David Kebler 9a90125ac5 modified using bash template so it works better from cli 2024-08-03 14:47:32 -07:00
David Kebler 95a5f21abd don't attempt environment substitution if no variable in file 2024-05-25 13:40:07 -07:00
David Kebler ca6f831c5d added ips 2024-05-25 13:38:46 -07:00
David Kebler 85fee64761 suppress jq error 2024-04-29 14:19:52 -07:00
David Kebler 484f5f0c28 resolve CNAME to IP 2024-04-29 14:16:07 -07:00
David Kebler f4faa105a3 fix gip 2024-04-29 13:43:56 -07:00
David Kebler 43ab19edc2 get ip using drill 2024-04-29 13:30:47 -07:00
David Kebler cdfd40e20d added public ip as function 2024-04-29 13:05:43 -07:00
David Kebler 7d9a9b2a5b get publicip with curl 2024-04-29 13:03:08 -07:00
David Kebler b40dfc3382 add curl based DNS lookup 2024-04-29 13:01:28 -07:00
David Kebler 5f6108a5e2 ghlatest, gets link to latest asset 2024-04-22 17:01:01 -07:00
David Kebler 26c7445d62 add systemctl edit alias 2024-04-22 10:32:36 -07:00
David Kebler 7f5e3877cb add readonly flag to folder snapshot
add new function snapshot_send to send a snapshot to another mounted partition or drive
2024-04-20 16:43:25 -07:00
David Kebler 49913cf714 ignore git url in load 2024-04-19 13:54:26 -07:00
David Kebler a41e477d8f added couple basic aliases
fixed copy arguments bug
added GIT url file to load after done
2024-04-19 13:53:10 -07:00
David Kebler 057b8ad9dd fix again suppress latest links. avoid remote targets
fix created error where no sshargs does not add ssh command
2024-03-20 11:26:55 -07:00
David Kebler d3802572b5 supress btrbk_run lastest link error
fix copy: only add ssh for remote
2024-03-20 11:09:07 -07:00
David Kebler 94984e969d add commandline git discard alias
copy, change m from merge to i, insert.  use m and M for mirror
add support functions for specfic cases copy
2024-03-13 10:13:08 -07:00
David Kebler c42c9777a9 add btrbk_named drop latest_clone
add btrfs_clone and mp_subvol
fix but s: to s  in copy options
add several path string helper function
2024-03-05 13:50:09 -08:00
David Kebler 195c34e80a added del_subvol and named_snapshot 2024-03-02 10:20:19 -08:00
David Kebler 61e61ac249 add cleaning to filesystem copy 2024-03-01 15:51:07 -08:00
David Kebler 184a0265c6 whoops fixed call of which in module_confirm 2024-03-01 15:15:16 -08:00
David Kebler 3a246c71cd use which instead of command -v
added unlocku to alias
added new way better copy module/function based on rsync
  copies local and remote
2024-03-01 15:01:47 -08:00
David Kebler 140404ff49 fix sudo elevation 2024-02-27 19:37:44 -08:00
David Kebler 4b957f1e4b fix sudo environment 2024-02-27 19:21:28 -08:00
David Kebler 5ae8dd672c remove echo so install commences 2024-02-27 19:04:33 -08:00
David Kebler d497156be9 allow force install 2024-02-27 18:55:57 -08:00
David Kebler e538400018 update rootfs excludes
preserve environment when installing with sudo
2024-02-27 18:53:59 -08:00
David Kebler ca8ab01a43 add rclone function 2024-02-26 12:30:19 -08:00
David Kebler 66bc374668 fix base update 2024-02-24 08:05:00 -08:00
David Kebler 82af909b7a add sync module
fix remote spaces in helpers
fix few errors in install library
2024-02-24 08:01:41 -08:00
David Kebler e36e658a69 add escape_char and escape_space functions
move sshtest function to remote module
rename remote_args to escape_args and user escape_space
2024-02-22 13:47:44 -08:00
David Kebler 56e758c0f9 fix bugs host and network install functions 2024-02-21 14:46:44 -08:00
David Kebler 3eaf9e38be add new uci shell install update library 2024-02-21 13:25:54 -08:00
David Kebler b7b2d7061a improve module base - use stderr for error messages
helpers: added mkrfilename for making random file names instead of using mktemp
         remote_arg function escapes spaces within an arugment(s) for use passing remotely
2024-02-21 11:11:07 -08:00