Re: All the unicorns are dead on Linux (was: How to compare contents of two folders against third one?)

2023-11-07 Thread Paul Duncan
Okay, I'm gonna throw a bit more fuel onto this fire :-) On Fri, 3 Nov 2023 at 15:58, Jeffrey Walton wrote: > > If you ask folks like Brian Kernighan and Rob Pike, they will tell you > all the unicorns are dead on Linux because everything is _not_ a file. > The only safe harbor for the unicorns

Re: All the unicorns are dead on Linux (was: How to compare contents of two folders against third one?)

2023-11-03 Thread Nicolas George
Jeffrey Walton (12023-11-03): > If you ask folks like Brian Kernighan and Rob Pike, they will tell you > all the unicorns are dead on Linux because everything is _not_ a file. They might tell you that, but that is wrong nonetheless: they fumbled the “everything is a file” from the start. In

Re: All the unicorns are dead on Linux (was: How to compare contents of two folders against third one?)

2023-11-03 Thread tomas
On Fri, Nov 03, 2023 at 11:57:59AM -0400, Jeffrey Walton wrote: > On Wed, Nov 1, 2023 at 1:56 PM wrote: [...] > > I concur with Nicolas: every time you say "folder", a unicorn dies. > > If you ask folks like Brian Kernighan and Rob Pike, they will tell you > all the unicorns are dead on Linux

All the unicorns are dead on Linux (was: How to compare contents of two folders against third one?)

2023-11-03 Thread Jeffrey Walton
On Wed, Nov 1, 2023 at 1:56 PM wrote: > > On Wed, Nov 01, 2023 at 08:01:19PM +0500, Alexander V. Makartsev wrote: > > Hello everyone. > > > > I have a "/source-folder/" which contains very large tree of folders and > > files. > > I've manually copied a set of folders and files from it to a > >

Re: How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread Jeffrey Walton
On Thu, Nov 2, 2023 at 3:18 AM Loris Bennett wrote: > > writes: > > > I concur with Nicolas: every time you say "folder", a unicorn dies. > > What's the objection to 'folder'? I don't use it myself, but it seems > fairly reasonable to me. Many desktop environments use an old hanging > folder

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

2023-11-02 Thread Michel Verdier
On 2023-11-02, Alexander V. Makartsev wrote: > 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. I use rsync on ntfs without locale parameter. This is my

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

2023-11-02 Thread tomas
On Thu, Nov 02, 2023 at 02:42:41PM +0500, Alexander V. Makartsev wrote: [encodings, file systems] > 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. I

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

2023-11-02 Thread Nicolas George
Alexander V. Makartsev (12023-11-02): > It could be also a limitation or bug of overlayfs since it doesn't have > locale/iocharset/codepage parameters for mount. No, it is not: Unix file names are made of octets, not characters. Regards, -- Nicolas George

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

2023-11-02 Thread Alexander V. Makartsev
On 02.11.2023 12:59, to...@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

Re: How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread yxcv
On Thu, 2 Nov 2023 09:59:20 +0100 Nicolas George wrote: Michael Kjörling (12023-11-02): I don't have a reference handy, but I do distinctly recall reading that Microsoft introduced the term "folder" specifically to also be able to refer to a concept of "something which is _not_ a directory

Re: How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread Nicolas George
Michael Kjörling (12023-11-02): > I don't have a reference handy, but I do distinctly recall reading > that Microsoft introduced the term "folder" specifically to also be > able to refer to a concept of "something which is _not_ a directory > but containing a collection of some kind of items". >

Re: How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread Michael Kjörling
On 2 Nov 2023 08:54 +0100, from to...@tuxteam.de: >> What's the objection to 'folder'? I don't use it myself, but it seems >> fairly reasonable to me. Many desktop environments use an old hanging >> folder icon in their file browsers. > > This is Microsoft jargon. Eek. I don't have a reference

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

2023-11-02 Thread tomas
On Thu, Nov 02, 2023 at 12:36:23PM +0500, Alexander V. Makartsev wrote: > On 01.11.2023 22:55, to...@tuxteam.de wrote: > > I concur with Nicolas: every time you say "folder", a unicorn dies. > > > If I say tater instead of potato would it also make you sad? > Sorry to break it to you, but

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

2023-11-02 Thread DdB
Am 02.11.2023 um 08:36 schrieb Alexander V. Makartsev: > 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

Re: How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread tomas
On Thu, Nov 02, 2023 at 07:50:16AM +0100, Loris Bennett wrote: > writes: > > > I concur with Nicolas: every time you say "folder", a unicorn dies. > > What's the objection to 'folder'? I don't use it myself, but it seems > fairly reasonable to me. Many desktop environments use an old hanging

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

2023-11-02 Thread Russell L. Harris
fslint (no longer in Debian) and dupeguru may be of interest to you. I have used both. RLH

Re: How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread Reco
Hi. On Thu, Nov 02, 2023 at 07:50:16AM +0100, Loris Bennett wrote: > writes: > > > I concur with Nicolas: every time you say "folder", a unicorn dies. > > What's the objection to 'folder'? $ mkdir /tmp/4 $ stat /tmp/4 | head -2 File: /tmp/4 Size: 4096Blocks: 8

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

2023-11-02 Thread Nicolas George
Alexander V. Makartsev (12023-11-02): > 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

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

2023-11-02 Thread Alexander V. Makartsev
On 01.11.2023 22:55, to...@tuxteam.de wrote: I concur with Nicolas: every time you say "folder", a unicorn dies. If I say tater instead of potato would it also make you sad? Sorry to break it to you, but unicorns were extinct a long time ago, along with BBS', modems, MSDOS, ISA-VLB slots,

How to compare one folder to one directory (was: How to compare contents of two folders against third one?)

2023-11-02 Thread Loris Bennett
writes: > I concur with Nicolas: every time you say "folder", a unicorn dies. What's the objection to 'folder'? I don't use it myself, but it seems fairly reasonable to me. Many desktop environments use an old hanging folder icon in their file browsers. In German there are also two words:

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

2023-11-02 Thread Alexander V. Makartsev
On 01.11.2023 20:07, Nicolas George wrote: Hi. Alexander V. Makartsev (12023-11-01): I have a "/source-folder/" which contains very large tree of folders and files. The word is “directory”, not “folder”. Oh, I'm so sorry, I didn't meant to invoke wrath of the ancients. I thought about it

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

2023-11-01 Thread tomas
On Wed, Nov 01, 2023 at 08:01:19PM +0500, Alexander V. Makartsev wrote: > Hello everyone. > > I have a "/source-folder/" which contains very large tree of folders and > files. > I've manually copied a set of folders and files from it to a > "/destination-folder-one/" and > copied another set of

How to compare contents of two folders against third one?

2023-11-01 Thread Alexander V. Makartsev
Hello everyone. I have a "/source-folder/" which contains very large tree of folders and files. I've manually copied a set of folders and files from it to a "/destination-folder-one/" and copied another set of folders and files to a "/destination-folder-two/". Now, is there an effective way

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

2023-11-01 Thread Nicolas George
Hi. Alexander V. Makartsev (12023-11-01): > I have a "/source-folder/" which contains very large tree of folders and > files. The word is “directory”, not “folder”. > Now, is there an effective way to compare combined contents of two folders > "/destination-folder-one/" and >