mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2003-04-11, 02:09   #1
markhl
 
Apr 2003
California

1348 Posts
Default Backing up Prime95 files

I just wanted to contribute this batch file that I wrote to backup my Prime95 folder.
Put the batch file itself in the folder.
Put a shortcut on the destop and run it twice a day.
(Or automate the process to run at a particular time.)

Here's the batch file!

Best, Mark

@echo off

rem It is unsafe to copy backup or sync this folder, because it's live: files in this folder are being written!
rem Zip all files into a zip file in a different folder, which also saves space.
rem This zip file is not live & can be copied to CD, synchronized to Briefcase, etc.
cd \Prime95

rem I could use the WinZip command line add on but I already have pkzip for DOS.
rem Archive using extreme maximum compression (-exx).
rem The flags -xm??????? -xp??????? -xq??????? would exclude temp files;
rem other files appear briefly at the instant it is updating temp files.
rem This is a DOS program; it needs a DOS 8.3 filename:
\Download\PKWare\pkzip -exx MarkPr95 *.*

rem Give it a readable name & move to an archive folder replacing old file:
ren MarkPr95.zip "Mark's Prime95.zip"
move /y "Mark's Prime95.zip" "\Download\Distributed computing"
markhl is offline   Reply With Quote
Old 2006-03-21, 22:50   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

29·349 Posts
Default

Of course you need to edit this or rewrite it for linux.
Uncwilly is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 error accessing files (work, log, backup) C0REY Information & Answers 5 2017-07-19 05:56
GMP-ECM & Prime95 Stage 1 Files Gordon GMP-ECM 3 2016-01-08 12:44
where is prime95 keeping my prime, local, worktodo files? almostfrugal Information & Answers 4 2012-09-19 03:51
Help needed with backing up Outlook email folders and settings lory_kl Lounge 2 2007-01-16 06:58
Prime95 Version 24.13 Error Writing Files RMAC9.5 Software 2 2005-12-05 08:20

All times are UTC. The time now is 22:07.


Sat Dec 4 22:07:54 UTC 2021 up 134 days, 16:36, 1 user, load averages: 0.94, 1.07, 1.07

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.