From 1f57e40d6d36f786e66072aa9bdc3a8b8c4d5467 Mon Sep 17 00:00:00 2001 From: statzitz Date: Sat, 24 Aug 2024 17:34:35 +0200 Subject: [PATCH] make a TODO list, and correct the d instruction bug. --- README.md | 28 +++++++++++++++++++++++++++- save_config_file | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea9ecbf..21a94a4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # save_config_dotfiles -Use it to save in ~/Documents/git/dotfiles/dotconfig your config files. \ No newline at end of file +Use it to save in ~/Documents/git/dotfiles/dotconfig your config files. + +## TODO + +### program config file. + +Implement in _INSTRUCTIONS_ +- fu for user file copy +- fr for root file copy (use doas) +- du for user directory copy +- dr for root firectory copy (use doas) + +Rename u by uu, for update user. + +### dotfiles to config + +Implement f instruction + +make as function dotfiles to config + +### config to dotfile + +Implement the reverse. + +make as function config to dotfiles. + + diff --git a/save_config_file b/save_config_file index 58607a1..8c5d302 100755 --- a/save_config_file +++ b/save_config_file @@ -19,7 +19,7 @@ do if [ "$order" = "d" ] then - cp -Rf ${_GIT_FOLDER}/${operand_2} ${operand_1} + cp -Rf ${_GIT_FOLDER}/${operand_2}/* ${operand_1} elif [ "$order" = "f" ] then echo ".. f detected .."