Handle relative path; Enhancing README
This commit is contained in:
parent
c4d25bcea8
commit
c865dcaf5a
@ -56,3 +56,4 @@ Check `.github/workflows/tests.yaml` for the test workflow.
|
||||
- Keep track of latest commit backuped to allow iterative backups. As for now, the script checks all commits (which is not really efficient); However, if latest commit backup is tracked and this commit to be overwritten by a force push, it will be eventually required to re-do the whole backup.
|
||||
- Keep commit messages, metadata (commiter, date), so it is possible to rebuild the git repository DAG.
|
||||
- Move the script/workflow out of the backup repository to allow a re-usable workflow! Also, it is quite boring having the script in the same repository as it will create conflicts during push, as pushing will start backuping and will require pulling again the code.
|
||||
- The script does not track deletion, modes, links, submodules. If we want to rebuild a repository, a lot of stuff will have to be done.
|
||||
|
@ -19,6 +19,11 @@ do
|
||||
;;
|
||||
d)
|
||||
DATA_DIR=${OPTARG}
|
||||
if [[ "${DATA_DIR}" != /* ]]
|
||||
then
|
||||
# I want an absolute directory
|
||||
DATA_DIR=$(pwd)/${DATA_DIR}
|
||||
fi
|
||||
;;
|
||||
n)
|
||||
MAX_NUM=${OPTARG}
|
||||
|
@ -0,0 +1 @@
|
||||
5
|
@ -0,0 +1 @@
|
||||
6
|
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1 @@
|
||||
2
|
@ -0,0 +1 @@
|
||||
3
|
@ -0,0 +1 @@
|
||||
4
|
Loading…
Reference in New Issue
Block a user