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)
|