On 8/17/05, Lars <[EMAIL PROTECTED]> wrote: > Some times when i want to copy a directory it's omitted, and i dont get > it. It has nothing to do with permissions, because i can 'mv' it with no > problem. > debs:# cp /root/.openoffice/ /home/nogetfx/ > cp: omitting directory `/root/.openoffice/' > > Any ideas on this?
if you do a "man cp" you will find: "By default, `cp' does not copy directories (see -r below)." so try adding a "-r" (or -a) -- Lars Roland