//Backup creates a copy of each file for a specified host and places it in path
Backup creates a copy of each file for a specified host and places it in path
// Backup creates a copy of each file for a specified host and places it in path
func (c *Config) Backup(hostname, path string) error {
	fmt.Println("Backup")
	for _, d := range c.Dotfiles {
		for _, h := range d.Hosts {
			if h.Hostname == hostname {
				break
			}
		}
	}
	return nil
}
func ( c * Config ) Backup ( hostname , path string ) error { fmt . Println ( " " ) for _ , d := range c . Dotfiles { for _ , h := range d . Hosts { if h . Hostname == hostname { break } } } return nil }
Backup creates a copy of each file for a specified host and places it in path
Backup creates a copy of each file for a specified host and places it in path
// grab h.Path and move it to path