At 06-01-20 17:18, you wrote:
So, in an attempt to create directions for the book that are as
efficient as possible, I'm going to lay out what I cannot do and
see if any of you wouldn't mind showing me the proper syntax for the
cp command to copy some files.
<snip>
7. Now using *one* command only, copy all these files and directories
into the test directory you created earlier. Creating symlinks in the
destination directory doesn't count. You must create actual files in
the test directory. One would think he could do this:

cp -a Linux*/include/* ~/td  (or substitute -r for the -a)

info cp :
> By default, `cp'  follows symbolic links only when not copying recursively.

I didn't knew that (it's always time to learn something...)

cp -Lr Linux*/include/* ~/td does the job.

Best regards.
--
N. Peguiron / 060120
np [at] logma [dot] ch

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to