HardwareBanter

HardwareBanter (http://www.hardwarebanter.com/index.php)
-   General (http://www.hardwarebanter.com/forumdisplay.php?f=28)
-   -   Missing Files/Folders (can't type) sorry (http://www.hardwarebanter.com/showthread.php?t=199666)

[email protected] July 18th 19 11:10 AM

Missing Files/Folders (can't type) sorry
 
Oh wow!
I did a time-consuming (many hours) copy-paste of a large folder with
many folders&files from one large USB stick to another (1TB). The
result looks bad. The # and size of the folders & files are 'way
different:
FROM TO
#FOLDERS=2710 #FOLDERS=2286
#FILES=34,379 #FILES=17,522
SIZE=23.2GB SIZE=17.2GB
DRIVE G DRIVE D

The top-level folders look same (28 files/folders/shortcuts).

A lot of folders/files are seemingly missing. Scary. Is there a W10
function I can use to compare the 2 disks? And show missings?
Or a program I can download?
Thanka
xxxxx

Paul[_28_] July 18th 19 05:40 PM

Missing Files/Folders (can't type) sorry
 
wrote:
Oh wow!
I did a time-consuming (many hours) copy-paste of a large folder with
many folders&files from one large USB stick to another (1TB). The
result looks bad. The # and size of the folders & files are 'way
different:
FROM TO
#FOLDERS=2710 #FOLDERS=2286
#FILES=34,379 #FILES=17,522
SIZE=23.2GB SIZE=17.2GB
DRIVE G DRIVE D

The top-level folders look same (28 files/folders/shortcuts).

A lot of folders/files are seemingly missing. Scary. Is there a W10
function I can use to compare the 2 disks? And show missings?
Or a program I can download?
Thanka
xxxxx


https://nwgat.ninja/hashdeep-lets-yo...e-directories/

apt-get install hashdeep === Linux package downloader command

cd /home/user/folder
hashdeep -l -e -r . output.txt === Audit file of source directory

cd /media/mount/folder

hashdeep -r -a -k output.txt . === walk current working directory and compare

There is a Windows version you can try out.

https://codeload.github.com/jessek/h...ip/release-4.4

hashdeep-release-4.4.zip

4,597,673 bytes

"To perform an audit:
hashdeep -r dir /tmp/auditfile # Generate the audit file
hashdeep -a k /tmp/auditfile -r dir # test the audit

"

You should be aware that the hashdeep has a
multitude of parameters for the command line.

Some of them are actually important!

Hashdeep will get "stuck" on Reparse Points,
unless you tell it to ignore Reparse Points.
It will also hang on "Named Pipes" and Windows
leaves some of those in a certain crypto folder
on C: . If attempting to checksum an entire C:
drive, you need to be aware of those options
and enable them.

This is one of the reasons why the command has
such a large parameter set - Windows is the
culprit.

For regular data folders, the syntax is
a bit easier.

The above commands don't mention "-C MD5"
to specify the hash/checksum to be used.

Reading the available information is a good idea.

*******

Any good file sync software should be able to do this too.

*******

Robocopy is a folder to folder copy program,
but I don't know if you can set it for "verify" such
that it verifies the writes are actually happening.

Robocopy is now built into Win7/8/10.

Your media is probably "broken" and that's why these
errors are occurring. Your "test" is identifying the
media has a problem (such as counterfeit USB sticks).

Paul


All times are GMT +1. The time now is 05:44 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HardwareBanter.com