Recent content by XunilXunil

  1. X

    Binary compare of very large files with progress update...

    No worries. :) Just thought I'd give a brief follow up to confirm that the above syntax did indeed fully work and the task completed without any drives going to sleep this time. No errors reported as my files are the same. I also did some testing with deliberately differing files to confirm that...
  2. X

    Binary compare of very large files with progress update...

    Ok thanks. If the disk goes to sleep I will try that. :) Thanks for the suggestion. :) Syntax is different. The difference is that the first file needed to be on the other side of the pipe. pv now gives feedback. :)
  3. X

    Binary compare of very large files with progress update...

    Ok. I have managed to find the correct syntax to make pv work and give an ETA and other useful information. I do not know yet if the compare will crash but at least I have feedback about how far through the job is. I hope this helps others. The correct syntax is: pv firstfile | cmp -l secondfile
  4. X

    Binary compare of very large files with progress update...

    I tried the one you removed. The one you have replaced it with is the exact syntax I used without success. What is a cronjob?
  5. X

    Binary compare of very large files with progress update...

    I just ran your syntax. It initates a binary compare (which I imagine will crash after around 7 hours), same as my syntax but gives no feedback through pv at all. My syntax didn't work but I was able to get a report on time elapsed and a static, unmoving progress bar...
  6. X

    Binary compare of very large files with progress update...

    Ok. Thankyou. :) I shall have a look at it. Pv is a lunix terminal command (supposedly) for adding feedback (such as estimated time to completion/percent done etc) on tasks initiated in the terminal which don't have any such feedback. You can use it with pipes to combine it with commands...
  7. X

    Binary compare of very large files with progress update...

    No, it isn't necessary to load the whole files into memory. Files can be loaded into memory byte by byte or in larger chucks and those bytes/chunks compared. Then the next chuck is loaded and when a difference is found it is reported or recorded for later reporting. Programmer here... ;-)...
  8. X

    Binary compare of very large files with progress update...

    Hi, I'm looking for a way to binary compare two large 3TB disk image files in the terminal, preferably as quickly as possible and with some kind of feedback with regard to progress. I have done some searching online with this regard but everything I have tried has not worked for one reason or...
Top