-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

primm wrote:
> I've 800 or so files and folders in a folder called nonmembers. I mkdir 
> another folder in the folder nonmembers called members. I want to copy all 
> the 800 files in nonmembers to members. I'm in the nonmembers folder at the 
> command line. What do I type? Sounds easy doesn't it. I tried cp -a * members 
> but that of course includes members. I suppose I want to say 'copy everything 
> in the nonmembers folder that was there before I made the members folder to 
> the members folder'. If I had a gui I would simply drag and drop.
> 
> Thanks. Lynn.

Hmm...

The default behaviour of cp is not to copy directories unless you
explicitly use the -R -r or -a options. However, -a is equivalent to
- -dpPR so if you use -dpP you should avoid the recursion implicit in -a.

Check info cp ...

- --
==============================================================================
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==============================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG2KB3asN0sSnLmgIRAuGFAKDa52q0si+3s/hTibnQ1rjgh/2Q8ACgsNpL
rOp0p3jMzu3MrGdhPh96ALo=
=TVbD
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to