3
votes
1answer
47 views

Why does tar with -z option create archive with different hash everytime

Can you tell me why tar czf archive.tar dir creates archive with different hash everytime (I check with 'md5sum') Without compression parameter -z or with parameter -j instead all works fine. ...
13
votes
6answers
598 views

How can I verify that a 1TB file transferred correctly?

I frequently transfer VM images from hypervisors to an archive server for long term storage. I transfer using netcat since it is faster than scp, rsync, ect.. hypervisor$ cat foo.box | nc ...
10
votes
3answers
1k views

Files with same content but with different md5sums when gzip'd?

I don't know why this is happening, but I upload some files to Amazon S3 then delete the sent files checking their md5sum both in Amazon and locally. But recently I found this issue about the same ...
1
vote
1answer
71 views

How interact in for with bash?

I know this must be sound a weird question, but for me, that always developed in C, C++ and Java (and now in bash) seems more weird tough. I'm trying to check if md5 and filename from two list (one ...
0
votes
1answer
162 views

md5sums differ between CIFS and NFS

I'm doing some research on 'cribbage' an Ubuntu 10.04 box which connects to 'prodcsamba01' via CIFS: cribbage $ mount | grep prep //prodcsamba01/prepfsnr on /prep type cifs ...
0
votes
1answer
104 views

Verifying file integrity on NTFS under linux

I have an NTFS volume that I share between a linux machine and a windows machine. Recently I have had a couple of strange problems where files have become corrupted. This has affected some media ...
3
votes
1answer
640 views

Why do two identical zips on Linux have different md5 sum values?

I created these two zip files about 24 hours apart. $ ls -l /tmp/*.zip -rw-rw-r-- 1 scott scott 1401289 Mar 21 20:11 /tmp/inc1.zip -rw-rw-r-- 1 scott scott 1401289 Mar 22 19:29 /tmp/inc2.zip You ...
0
votes
3answers
584 views

How to convert Windows filenames (from a checksums.md5) to *nix notation so I can use it on my shell with md5sum?

I have some checksums.md5 verification files from an ntfs external drive, but using windows notation: \ instead of /, spaces between file names (not escaped), reserved shell characters (like (, &, ...
4
votes
3answers
618 views

Linux, is it necessary to to Md5sum when copying files to new directory on same hard drive?

I'm using an ubuntu server and the project I am working on has very strict requirements regarding making sure data is not corrupted. I can't seem to find a good answer on this, when doing a local copy ...