I am mirroring a website using wget.
On the server, there is a dump of the find /
command, which includes filenames in the form :
/dir1/
/dir1/page1.txt
/dir1/page2.txt
...
The mirrorring is very large (100GB+) and I would like to compare the local output of find
to the text file containing the server-side dump, so as to have an idea of how many files are left.
I was thinking of using a grep -v ...
or awk
but I'm not quite sure how one would go about doing that.
Can anyone help me please?
Thanks !