Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2023 10:34:11 +0100
From:      Peter Holm <pho@FreeBSD.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Steve O'Hara-Smith <steve@sohara.org>, questions@freebsd.org
Subject:   Re: problem while moving HOME from FreeBSD to MacOS with bsdtar
Message-ID:  <ZAmoEyCwwOq0mCXd@Peters-Air>
In-Reply-To: <20230309084125.GA9@sh4-5.1blu.de>
References:  <ZAmOIFc5TLj27kEz@c720-r368166> <20230309081835.afddc78d57a7f25b8f92b9aa@sohara.org> <20230309084125.GA9@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 09, 2023 at 09:41:25AM +0100, Matthias Apitz wrote:
> El día Donnerstag, März 09, 2023 a las 08:18:35 +0000, Steve O'Hara-Smith escribió:
> 
> > On Thu, 9 Mar 2023 08:43:28 +0100
> > Matthias Apitz <guru@unixarea.de> wrote:
> > 
> > > I have had to move in my office from a FreeBSD in a VM to a Mac.
> > > To not loose my HOME I created a tar archive on FreeBSD and restored it
> > > with tar into the Mac (all details about versions see below). The tar
> > > archive contains a lot of dirs and file (~30.000) and one dir is
> > > guru/Mail where a mbox file guru/Mail/purism exists. It also exists a
> > > plain file guru/mail (note: the dir is with capital M). This leads on
> > 
> > 	You seem to have the default case insensitive filesystem setup on
> > MacOS, you can change it - more details here:
> > 
> > https://support.apple.com/en-ie/guide/disk-utility/dsku19ed921c/mac
> 
> I don't think, that this is the case:
> 
> APITZM-1MBPOH:~ apitzm$ touch Homework HOMEWORK
> APITZM-1MBPOH:~ apitzm$ ls -l Homework HOMEWORK
> -rw-r--r--  1 apitzm  OCLC\Domain Users  0  9 Mär 09:37 HOMEWORK
> -rw-r--r--  1 apitzm  OCLC\Domain Users  0  9 Mär 09:37 Homework
> 
> Note also in my originam mail that both names exist:
> 
> APITZM-1MBPOH:~ apitzm$ ls -ld guru/Mail guru/mail
> -rw-r--r--  1 apitzm  OCLC\Domain Users  4016  9 Nov 12:36 guru/Mail
> -rw-r--r--  1 apitzm  OCLC\Domain Users  4016  9 Nov 12:36 guru/mail
> 
> but that guru/Mail was created as a plain file, why it is in the tar
> archive a directory.
> 
> 	matthias
> 
> -- 
> Matthias Apitz, ??? guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub

$  touch Homework HOMEWORK
$ ls -li | grep -i homework
33069549 -rw-r--r--  1 pho  wheel         0  9 Mar 10:30 Homework
$ ls -l homework HOMEWORK
-rw-r--r--  1 pho  wheel  0  9 Mar 10:30 HOMEWORK
-rw-r--r--  1 pho  wheel  0  9 Mar 10:30 homework
$ ls -li homework HOMEWORK
33069549 -rw-r--r--  1 pho  wheel  0  9 Mar 10:30 HOMEWORK
33069549 -rw-r--r--  1 pho  wheel  0  9 Mar 10:30 homework
$ 

- Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZAmoEyCwwOq0mCXd>