Professional Documents
Culture Documents
Archive
Archive
Details : There is a config file in the user's home directory for this
program. According to that config file this program finds
the files matching the patterns given in the config file and
archive all that files taking the name of the archive from
the config file. It also gives options whether the user
wants to add file to the archive or recover files from the
archive. According to the option given by the user and the
config file it does the work.
Input : Input is taken from file and also from the keyboard. The
pattern of files to be archived and the name of the archive
is given in the config file and the option whether the user
wants to recover or add file is taken from the keyboard.
Output : When the user wants to change the name of the archive
file
then the output goes to the config file and the name of the
archive file is changed.