Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
copying a directory to same level
- X-seq: zsh-users 15310
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: copying a directory to same level
- Date: Sat, 21 Aug 2010 15:12:37 +0000 (UTC)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: SuccessTheory
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