程式的要求如下:
1. Create a dialog window, asking for the directory of the source.
2. Create a dialog window, asking for the directory of the destination.
3. Create a dialog window, asking for options for disk mirroring. Possible options include
t: for testing only. This options simply prints a list of files that should be copied but does not actually copy the files.
c: for copying. This option actually copies all the necessary files.
p: for purging. This option removed the files that are on the backup disk but are not on the working disk (because they are removed from the working disk by the user.
4. Create a file, containing all the files that are actually copied during backup. The name of the output file should be taken from an environment variable with a suffix of the date of the backup date. An example file name could be "backup.19980401",
"backup.19980402", etc.
--
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>