[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to compare contents of two folders against third one?



On 02.11.2023 12:59, tomas@tuxteam.de wrote:
Rsync wasn't helpful in my case. It refused to recognize file names
properly, complaining about charset encoding, not even with --iconv
parameters.
Probably because of locale differences between my system and mounted
filesystems and who knows what else.
Difficult to say without knowing more details. Are those "directories"
actually on different file systems?

For vfat, specifically, there is a codepage argument for mount.

Cheers
I've tried to mount filesystems (all NTFS) with different locale parameters, still ended up with either garbled filenames or charset conversion and 'path too long' complains from rsync.
Since I've copied files manually with Thunar, it didn't complained about anything and all copied files were consistent, even those rsync complained about.
It could be also a limitation or bug of overlayfs since it doesn't have locale/iocharset/codepage parameters for mount.
Anyway, I don't have access to source and two destination disks anymore to investigate this further.
Data recovery was successful and case closed.

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Reply to: