On 20 September 2016 at 13:00, Ahmad Samir <ahmadsamir3...@gmail.com> wrote:
> On 20 September 2016 at 12:34, Ahmad Samir <ahmadsamir3...@gmail.com> wrote:
>> On 20 September 2016 at 10:33, Ahmad Samir <ahmadsamir3...@gmail.com> wrote:
>>>
>>> Here's a crude way:
>>> $ find /brickA -type f -exec md5sum "{}" + | sort > brickA.txt
>>> $ find /brickB -type f -exec md5sum "{}" + | sort > brickB.txt
>>> $ diff -U 0 brickA.txt brickB.txt | sort -k 1.1,1.1 > A-B.diff
>>>
>>> Ignoring lines beginning with @@, +++ or --- , the lines beginning
>>> with - are in A but not B ... etc
>>>
>>
>> Please disregard that, it won't work...
>>
>
> More experimenting:
> $ find A -exec md5sum '{}' + > a-md5
> $ find B -exec md5sum '{}' + > b-md5
> $ cat a-md5 b-md5 > All
> $ sort -u -k 1,1 All
>
> that should output a list of files that are in one dir but not the other.
>

Doesn't work either, sorry for the noise.

> --
> Ahmad Samir



-- 
Ahmad Samir
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to