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
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
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
David Kebler
398ae39a07
fixing bundler
...
move some module code to new modules
2024-02-16 23:50:36 -08:00
David Kebler
d77c046c0b
clean up basic loading
2024-02-12 13:11:40 -08:00
David Kebler
39d6cc755e
rearrange some module locations
...
auto load btrfs modules if btrfs-progs and btrbk are installed
2024-02-12 12:53:25 -08:00
David Kebler
5cdfacadb0
refactor fetching bash template code
2023-12-17 13:10:37 -08:00
David Kebler
856efb5e35
refactor module library
...
move non essential functions to extra module
minimize essential modules functions to module.base and load that
2023-12-17 12:54:45 -08:00
David Kebler
82dec74a7b
add find subvol and snap a folder of subvolumes
2023-12-16 08:27:37 -08:00
David Kebler
7963e13c59
improve mount subvolume
2023-12-15 11:17:06 -08:00
David Kebler
2d61144804
added mount_subvolume
2023-12-15 10:23:44 -08:00
David Kebler
b9f98d36f4
moving host and network directories out of /any
2023-12-14 21:09:19 -08:00
David Kebler
21dc81b1da
add bash template library
2023-12-14 17:33:05 -08:00
David Kebler
9157278eb0
ignore .inst and .uninst files
...
add systemd loginctl commands
btrfs find subvolumes
2023-12-14 13:59:24 -08:00
David Kebler
f2a9d64eab
use command -v instead of which
2023-03-20 10:37:45 -07:00
David Kebler
a1b3781c40
add functions
...
distro_sudo_group
change_user_password
user_group_id
add_recovery_user
rename_user
2023-03-19 11:35:13 -07:00
David Kebler
9c379eda85
minor fix dir_copy
2023-03-12 10:46:05 -07:00
David Kebler
3c01d75c6a
fix comment filename error to .lib
2023-03-12 10:41:31 -07:00
David Kebler
c6dc8e4487
moved reload_user, add editor function, add wheel to groups check
...
add follow links option to _find
user hostnamectl to get host name
2023-02-23 10:03:47 -08:00
David Kebler
0d4481e291
refactor: more new session loading to anything under "load" subirectory (by default) still can add additional loading directories as before.
...
refactor of debug module using BASH_DEBUG as filename in user shell suddirectory logs/
improved bindfs and btrfs modules
2023-02-22 11:39:34 -08:00
Kebler Network System Administrator
99c01d4bb7
add sudo module with Sudo function for running functions or alias as sudo
...
add install-shell-repo library for easy install of other shell repos (host, network)
2023-02-15 07:08:24 -08:00
Kebler Network System Administrator
2454f268ca
minor modules cleanup
2023-02-07 11:21:38 -08:00
Kebler Network System Administrator
9eaef445af
added beginning of btrfs module
2023-02-07 09:31:25 -08:00
Kebler Network System Administrator
fa65a9f4a4
add basic user functions to get id name and to do basic checks is_uer is_user_group is_user_sudo
2023-02-07 09:26:05 -08:00
Kebler Network System Administrator
3be0565a06
move systemd funcstion to a module and then load back
2023-02-07 09:23:59 -08:00
Kebler Network System Administrator
1bce77c432
refactor user install and how $BASH_SHELL_USER_DIR is exported early.
2023-01-20 17:20:19 -08:00
Kebler Network System Administrator
2e4ecc3539
add str_before and str_after
2023-01-20 10:09:56 -08:00
Kebler Network System Administrator
bcba8bbfd4
refactor shell install scripts
...
add bindfs and new dir_copy script
2023-01-18 16:50:31 -08:00
Kebler Network System Administrator
96127ca89f
move environment functions to env module from file module and helpers module
...
feat env_subs_file and support functions now operational
added shell_run function to module.lib so scripts can be run with the otherwise not loaded current shell
added remove empty lines function to helpers
2023-01-05 12:36:23 -08:00
Kebler Network System Administrator
e2cade08c7
add fileext function to helpers
2022-12-31 23:28:18 -08:00
Kebler Network System Administrator
bf62d67339
refactor shell environmnet so user can have create customized shell.env
...
refactor default loading of networks
2022-12-30 09:18:39 -08:00
Kebler Network System Administrator
34311b8183
change shell-process-directory to .func
2022-12-26 10:24:51 -08:00
Kebler Network System Administrator
2aa4fa89a7
feat: substitute environment into a file using envsubst
...
feat build_file no added file comment by default use -f to enable
2022-12-26 10:21:30 -08:00
Kebler Network System Administrator
4318f9ca89
feat: add environment file helper functions
2022-12-24 12:34:03 -08:00