Re: /etc/fstab question (problem)?
On Fri, Apr 21, 2023 at 04:59:36AM -0400, rhkramer@gmail.com wrote:
> On Wednesday, April 19, 2023 05:02:16 PM Default User wrote:
> > sudo cp -r <source> <destination> from the live usb.
>
> Recently I've been trying to get in the habit of using cp -aru because those
> options do what I usually want:
>
> * -a preserves dates (and ownership and permissions), and doesn't follow
> (copy from) symbolic links
> * -r recurses through subdirectories
> * -u copies only if the destination file is older than the file to be copied
In GNU cp(1):
-a, --archive
same as -dR --preserve=all
-d same as --no-dereference --preserve=links
-R, -r, --recursive
copy directories recursively
So, your -r is redundant. It's included in the -a.
Reply to: