[wellylug] Exact meaning of "omitting directory"

Jethro Carr jethro.carr at jethrocarr.com
Sat Aug 1 15:32:40 NZST 2009


On Sat, 2009-08-01 at 14:56 +1200, John Durham wrote:
> While copying files to my web server I received a message saying 
> "omitting directory". Maybe I got the command wrong, but the implication 
> here could be other than I expected. Before proceeding, would you care 
> to comment please?

hi John,

This message means that you tried to copy a directory without specifying
the recursive (-r) option.

Eg:

$ cp -av source destination
Would copy all the files but not any directories.

$ cp -avr source destination
Will copy all the files and directories.


regards,
jethro

-- 
Jethro Carr
www.jethrocarr.com/index.php?cms=blog
www.amberdms.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20090801/324920bc/attachment.pgp 


More information about the wellylug mailing list