Does anyone know a CRC script that will check the CRC not only of the files in a folder but also in all of the sub-folders (I want tto know if the files on my backup site are an exact copy of the original)
CRC on all folders/subfolders
this is a linux webserver, hence
will show you all differing files in the directory foo and all subdirectories. It can be piped to a file:
and this can be used in a shell script (as above) or as a PHP script:
| Code: |
| diff -rv foo |
will show you all differing files in the directory foo and all subdirectories. It can be piped to a file:
| Code: |
| diff -rv foo > hats.txt |
and this can be used in a shell script (as above) or as a PHP script:
| Code: |
| <?php
server("diff -rv foo > hats.txt"); ?> |
