mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-08 18:34:00 +00:00
Estimated hours taken: 2 backupdir: Script based on petdr's backup script. Will backup any CVS modules in the given directory. A compressed diff and a record of the version numbers of all files is created. The compressed diff can be applied using cvspatch. A similar tool will need to be developed for using the version numbers. If the module is unchanged since the previous backup, no diff will be made (lightening the load on the CVS repository). backuprevisions: Auxililary script, outputs the CVS/Entries file with the filename at the start. This needs to be in your path when running backupdir.
8 lines
37 B
Bash
Executable File
8 lines
37 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo $1
|
|
cat $1
|
|
echo
|
|
echo
|
|
|