> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Amy Raisanen > Sent: Monday, March 30, 2009 10:04 AM > To: [email protected] > Subject: [U2] Delete files on secondary server before restore > >
[snip] > recommendation is to write a script to "just delete everything from > Universe 2 before I do the restore." Do any of you have this sort of > script that I could start from or other ways of going about this? > > I'm running 10.2.10 on Windows. The following command saved in a .bat file should do it: rmdir /S D:\UVDir That will remove the directory and all subdirectories and files. You could add the uvrestore command immediately following that line to insure the deletion gets completed first. -John ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
