[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] CMU Automation



At 05:37 PM 7/20/01 +0100, Jamie Rossi wrote:
>This is probably a stupid question, but I have writen a simple shell script
>to automate the backup of files.
>
>How do I add a command to force the acceptance of an over-write when a
>virtual directory backup already exists?

Well, if you're using a simple cp, 'cp --help' says you can use -f, as in
'cp -f source dest'.

-------------------------------------------------------------------------
Ted Behling, Web Application Developer, Monarch Information Systems, Inc.

43 Folly Field Road, Unit 4, Hilton Head Island, SC 29928-5434
E-mail: mailto:TBehling@xxxxxxxxxxxxx
Phone/Fax: 1-800-842-7894    Local or Outside the USA: 1-843-842-7894
Cell Phone (urgent issues): 843-816-7895
Cell Phone E-mail: mailto:TedPhone@xxxxxxxxxxxxx (116 letter limit)
Web site: http://www.monarchis.net
-------------------------------------------------------------------------