Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

copying a directory to same level



Hi
(Hope this is not too dumb)

I want to duplicate directory vim73 to vim

>cp -r vim73 vim/

if directory vim does not exist then it does what I want.
However if vim/ already exists then vim73/ will be created as a sub-directory 
in vim/ eg vim/vim73

Can you explain this behaviour and how can I force it duplicate to same level 
regardless of whether directory exists



-- 
zzapper
http://zzapper.co.uk/ Technical Tips



Messages sorted by: Reverse Date, Date, Thread, Author