I'm not sure what exactly file content check means in "Compare" options, does it mean file integrity and checksum checking?
I'm asking this because I sometimes get corrupt files on my usb when copying with windows. I wonder if this program can do such errors detection either if I use "Synchronize" or "Compare" functions and also within rar password protected archives?!
Thanks.
File content check
- Posts: 3
- Joined: 30 Jun 2021
- Posts: 1202
- Joined: 8 May 2006
"2. Compare by File content
Two files are marked as equal if they have identical content. This variant should be selected when doing consistency checks to see if the files on both sides are bit-wise identical."
https://freefilesync.org/manual.php?topic=comparison-settings
(It shouldn't be occurring, & that it does would seem to indicate that there is something wrong somewhere along the line - be it the usb drive itself (incl. cabling or port) or something funky with Windows copy.)
I would think you could script something fairly easily to check the validity of your rar files.
pseudo-code:
Two files are marked as equal if they have identical content. This variant should be selected when doing consistency checks to see if the files on both sides are bit-wise identical."
https://freefilesync.org/manual.php?topic=comparison-settings
What makes you aware that that has occurred?I sometimes get corrupt files on my usb when copying with windows.
(It shouldn't be occurring, & that it does would seem to indicate that there is something wrong somewhere along the line - be it the usb drive itself (incl. cabling or port) or something funky with Windows copy.)
The rar archive file itself would be checked, not the validity of its contents (which should be checked by rar, I would think).within rar password protected archives
I would think you could script something fairly easily to check the validity of your rar files.
pseudo-code:
for i in *.rar
do
rar t %i%
if errorlevel .ne. 0 echo %errorlevel% %1% Bad RAR >> Bad_RAR_FILES.TXT
done
-
- Posts: 4867
- Joined: 11 Jun 2019
That option does not verify data the way you are thinking. You need to set a flag in the xml file that holds the settings for FFS.
https://freefilesync.org/manual.php?topic=expert-settings
https://freefilesync.org/manual.php?topic=expert-settings
- Posts: 3
- Joined: 30 Jun 2021
When extracting files from usb drive winrar says some files are corrupt. I don't know why this occurs, maybe because I left the usb flash drive formatted with fat32.What makes you aware that that has occurred?I sometimes get corrupt files on my usb when copying with windows.
(It shouldn't be occurring, & that it does would seem to indicate that there is something wrong somewhere along the line - be it the usb drive itself (incl. cabling or port) or something funky with Windows copy.)
therube, 30 Jun 2021, 15:39
-
- Posts: 4867
- Joined: 11 Jun 2019
What if you extract with 7zip? I've had archives say that and it was nothing to do with what they were stored on, but something with the process of compressing them
- Posts: 3
- Joined: 30 Jun 2021
Tried with 7zip too, files are corrupt.What if you extract with 7zip? I've had archives say that and it was nothing to do with what they were stored on, but something with the process of compressing them xCSxXenon, 30 Jun 2021, 16:54
If I change FFS settings and enable verify, then Synchronize, I still have no guarantee that copied files wouldn't have hidden errors, right?
-
- Posts: 4867
- Joined: 11 Jun 2019
Anything previously synced will not be checked. You will need to wipe the target and sync again to verify everything. I think that is what you mean. Remember, if a source file gets corrupted, the target will verify still