TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: MARTIN GREGORIE
date: 2019-03-04 20:40:00
subject: Re: Copying a working SD

On Mon, 04 Mar 2019 07:07:38 +0000, The Natural Philosopher wrote:

> It didnt occur to me that amyone would use a windows machine to copy Pi
> files.
>
...but if you're copying a directory containing hidden files in a Linux
filing system, it shouldn't matter what you're using to do it (CLI
command, scp, ftp or GUI file manager, because it is just moving a
directory and everything it contains should be carried along too.

Of course. if you're moving a bunch of files with a wild carded names,
then hidden files may well be ignored, but that's by design anyway: the
Linux "cp *.txt somewhere" won't copy invisible dot-prefixed files either,
and if you try to use 'cp' copy a directory and its contents you'll be
reminded to provide the -r option if the directory contains anything.

Whether the partition(s) involved are EXT, BTRFS, Reiser or even FAT or
NTFS should not matter because the assorted drivers share a common API
and so hide the gory details of the FS types involved from whatever CLI
or GUI code that is managing the transfer. Arguably, if the tool omits
any stuff inside the directory its broken.

> Not the least because it doesn't understand EXT4 file systems.
>
Not relevant: we know, because some of us have done it, that moving files
and directories between partitions containing different FSs does work and
works well - provided you ignore the way this can mess up file ownership
and access permissions when FAT filing systems are involved.


--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.