from MIPT's 3 semester
It's task about daemon program for backuping directory. Conection with program based on fifo chanel that created in local directory.
Start program:
$ ./run (*path_dir_for_saving) (*path_dir_for_backup) (-auto)
Argument "-auto" assigns the background mode to the program (the program creates a daemons). Without this argument one-time backup is made.
Commands implemented:
^ bcp_dir *path - change backup directory, old backup directory doesn't change and saved
^ cpy_dir *path - change directory for backup
^ info - write current copy and backup directories
^ exit - close daemon