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 .."