1

Background

In clearcase, whenever you uncheckout, or check in files, you get a prompt that says:

Save private copy of <file> ? [yes]

For each individual file.

Problem

I am trying to check in hundreds of files at once with a script and I know I don't want to save a private copy of any of them. How do I suppress this prompt so I don't have to manually enter n or no for each file?

isakbob
  • 1,439
  • 2
  • 17
  • 39

1 Answers1

1

In your script, you can cleartool checkout -rm or cleartool checkout -keep in order to not save, or save a copy of the file.

By using those options, you will get a non-interactive command and won't have to enter y/n for each file.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250