Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
add an mv protection ?
- X-seq: zsh-users 10201
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: add an mv protection ?
- Date: Wed, 03 May 2006 11:40:01 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
hi all,
imagine this case :
% echo *
a.pl b.pl
% mkdir old
% mv *pl
Here, i forget the target ( old ). The result is :
mv a.pl b.pl
i've lost the b.pl content!
is there a way to hook this case and ask a confirmation ?
thanks and regards
mc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author