On Sat, Feb 28, 2026 at 06:52:55PM +0000, mick.crane wrote:

[...]

> I think I do "cp -rp source target"

These days you're better off with "cp -a", which is "cp -dR --preserve=all"
(that "R" is the same as your "r"). Your "p" preserves mode, ownership and
timestamps, whereas -a preserves links, extended attributes and security
context (SELinux, smack) wherever applicable.
 
> but usually open 2 instances of a file manager and drag or copy/paste if on
> same file system.

Why shell has grown on me: 1. history: I can see what I just did and learn
from my mistakes. 2. history: I can be lazy, type CTRL-R and reuse an old
command (perhaps after editing it). 3. history: I can load recent history
into an editor and wrangle it into a rough draft of a script.

(There are 7bout 5 other reasons, I just named some from those beginning
with "h" ;-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to