This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to make `mv the hard way' fail


wayne willcox wrote:
If you really want that kind
of interaction it is a trival shell script that wraps the mv
command and can prompt the user for any number of things including
"are you sure",, "again are you sure you want to move this file"

mv already *has* the -i option, and it does just what you describe.


The reason I proposed tacking on this other prompt to the same option is that:

(a) the option is called "--interactive" in full, and suggests that it controls *all* interactive behavior in "mv".
(b) it seemed ..


(oh, well, never mind...)

I'll just create it as a long-only option for the moment (--(no-)copy-dir-if-busy)


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]