zsh-users
 help / color / mirror / code / Atom feed
* copying a directory to same level
@ 2010-08-21 15:12 zzapper
  2010-08-21 15:33 ` Mikael Magnusson
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: zzapper @ 2010-08-21 15:12 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-22 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-21 15:12 copying a directory to same level zzapper
2010-08-21 15:33 ` Mikael Magnusson
2010-08-21 15:36 ` Andrey Borzenkov
2010-08-21 16:12 ` Bart Schaefer
2010-08-22 12:51 ` zzapper
2010-08-22 18:32 ` Benjamin R. Haskell
2010-08-22 18:36   ` Benjamin R. Haskell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).