Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 667 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 667 Bytes

Task5

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