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

On Wed, 06 Mar 2019 07:01:00 +0000, The Natural Philosopher wrote:

> But I am fairly sure that if you copy a DIRECTORY the hidden files
> inside it go along with it also.

Yes they do, but you'll need to use the -d option to copy a directory
that contains anything more than . and .. because cp will complain if you
don't.

Or you can move it, of course, and everything in it is moved as well, but
the ownerships will be need to be fixed if you're moving the directory to
another user.



--
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™.