[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copy all except one



On Sat, Aug 24, 2002 at 04:22:04PM +1000, Russell wrote:
> When i do: cp /bin /mnt   i get:
>   cp: omitting directory '/bin'
> 
> Why?
> 
> I'm in as root, and can do: cp /bin/* /mnt/bin

cp -a /bin /mnt

SYNOPSIS
       cp [OPTION]... SOURCE DEST
       cp [OPTION]... SOURCE... DIRECTORY
       cp [OPTION]... --target-directory=DIRECTORY SOURCE...

DESCRIPTION
       Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

Source if file(s)
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
         Osamu Aoki @ Cupertino CA USA, GPG-key: A8061F32
 .''`.   Debian Reference: post-installation user's guide for non-developer
 : :' :    http://www.debian.org/doc/manuals/reference/  http://qref.sf.net
 `. `'   "Our Priorities are Our Users and Free Software" - Social Contract



Reply to: