Commit 020b117e authored by remy's avatar remy
Browse files

update README since I added compare2init option

parent dd3de226
......@@ -53,12 +53,15 @@ You will find your results in `json` format in your `OUTPUT_DIR` defined in `pro
To display more informations about differences:
```bash
# compare from last run
bash check_urls.sh compare
# or check differences since the init step
bash check_urls.sh compare2init
```
Finally, you can add a cron job to produce results every N minutes/days...
If you detect any change (see Json files in directory `OUTPUT_DIR`), then, you can compare it manually:
If you detect any changes (see Json files in directory `OUTPUT_DIR`), then, you can also compare it manually:
```bash
cp -r workdir/ `date +"%Y%m%d"`_workdir
......@@ -67,6 +70,7 @@ diff -rq <previous_workdir> `date +"%Y%m%d"`_workdir
diff -Ebw <previous_workdir>/website.index.html `date +"%Y%m%d"`_workdir/website.index.html
# finally, if everything is ok, regenerate a workdir
bash check_urls.sh clean
bash check_urls.sh init
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment