Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
an update command
- X-seq: zsh-users 15058
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: an update command
- Date: Wed, 19 May 2010 09:31:06 +0000 (UTC)
- Connect(): No such file or directory
- 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
when copying files from a test server to a live server eg
>cp $T/config.php $L
I only want to do the copy if the file ALREADY exists in the destination
directory
I guess I can hack a script up to do this but how would you do this?
--
zzapper
http://zzapper.co.uk/ Technical Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author