On Wed, Apr 24, 2002 at 01:53:33PM +0200, Michael Me_ wrote: > I would like to copy files with cp and never overwrite existing files. > > I can use cp -i, but I don't want to say 'n' 1000 times (because there > is no "No for all" option) or I just want to do that in a batch file, > where I cannot give any answers to questions.
yes n |cp -ir foo/ bar/ Don't know what to do about the broken pipe though... bernd _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils