![]() |
|
|
#12 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
27AE16 Posts |
Quote:
Thanks again, chalsall. I learned to look more carefully, I hope. I can't say how the exponents in question got lost from the work flow. I'm guessing that I had collected some results and got distracted without uploading them. Then the collect results batch file overwrote them. I just looked at the switches for Copy, but there doesn't seem to be a way to make it append to the destination. Just gotta be more attentive, I guess. EDIT: At least I'm trying to back-check and keep track of my assignments. It's embarrassing to find things lost in limbo. Last fiddled with by kladner on 2011-12-26 at 23:15 |
|
|
|
|
|
|
#13 |
|
Dec 2007
Cleves, Germany
2·5·53 Posts |
|
|
|
|
|
|
#14 |
|
Jun 2003
5,051 Posts |
|
|
|
|
|
|
#15 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
|
|
|
|
|
|
#16 |
|
Dec 2007
Cleves, Germany
21216 Posts |
|
|
|
|
|
|
#17 |
|
"Sander"
Oct 2002
52.345322,5.52471
29·41 Posts |
type should work perfectly fine on windows too
|
|
|
|
|
|
#18 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Thanks to ckdo, axn, and smh. I will see what I can do with those alternatives. I take it that
Code:
type new_results.txt >> collected_results.txt What I am trying to accomplish is to take the contents of 2 or 3 results.txt files (in different directories, of course), put them in a single file, and clear the results.txt files. Currently, I use Code:
e: cd \mfaktc_32-64 copy "mfaktc-0.18a\results.txt"+"mfaktc-0.18b\results.txt"+"mfaktc-0.18c\results.txt" "Results-kladner.txt" copy results.txt "mfaktc-0.18a" /y copy results.txt "mfaktc-0.18b" /y copy results.txt "mfaktc-0.18c" /y After uploading I'm still left to move the collected contents to an archive file, but I haven't bothered to try to automate that step. @axn: Why would the /b (binary file) be used when "results" is a text file? Would it be handled differently? In the example given, Code:
copy /b collected.txt + new.txt Again, thanks to all who responded. |
|
|
|
|
|
#19 |
|
Oct 2011
Maryland
2×5×29 Posts |
It sounds like this is going to be the same thing that everyone else has said, but here is my actual batch file from my win PC.
copy /b "c:\users\kyle\desktop\mfakto-0.10 - Win - 1\results.txt" + "c:\users\kyle\desktop\mfakto-0.10 - Win - 2\results.txt" "c:\users\kyle\desktop\prime results\results.txt" del "c:\users\kyle\desktop\mfakto-0.10 - Win - 1\results.txt" del "c:\users\kyle\desktop\mfakto-0.10 - Win - 2\results.txt" After I upload the combined results.txt to Primenet and James' site, I then move it to a results.old.txt in that same directory. If you want to do that automatically you can add this line to the end: copy /b "c:\users\kyle\desktop\prime results\results.old.txt" + "c:\users\kyle\desktop\prime results\results.txt" "c:\users\kyle\desktop\prime results\results.old.txt" After you upload the results.txt you can then delete that file. PS - the /b makes it so you don't get the annoying end of file character (if you have ever dealt with FTP systems you know what sort of havoc ASCII mode can cause). |
|
|
|
|
|
#20 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
1015810 Posts |
Quote:
Thanks for the examples, and for the explanation about /b. I had wondered why that little character was added to the end of the file. You took a different approach to removing results.txt files after the contents had been collected. It had not occurred to me that the files could be deleted, and that mfaktc would create another results.txt. |
|
|
|
|
|
|
#21 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
22·7·167 Posts |
4 P-1 assignments that I received within the last month or so are still in my worktodo.txt; but NOT listed on my GPU-to-72 assignments page.
- When I do exponent status in PrimeNet they all show as: Quote:
- All have been factored by GPU to 72 bits. - Xyzzy did bit 72 in all 4 cases (please don't take this as accusing - simply listing facts) - Of the 3 quads I have working on these P-1, two of the lost are from one of them and two from another - They are not always the first or last for the worker. Code:
51765079 51766133 51842653 51871383 Last fiddled with by petrw1 on 2011-12-30 at 20:29 |
|
|
|
|
|
|
#22 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×5×7×139 Posts |
Quote:
PrimeNet assigned Spidy about 20 candidates that it already owned. Spidy didn't expect this to ever happen (blame its trainer...) so they were placed in the available candidates pool, and some were assigned to another worker. I'm going through the logs and DB records to figure out who has been effected (appears to be about five users) and let them all know the situation. I'm also giving Spidy some new lessons to prevent this from happening again. petrw1, if it's not too much of a pain, could you please remove these four P-1 lines from your worktodo.txt file(s) if you haven't already starting working on them? (Why does stuff like this always happen when I can least afford the time? )
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| disk died, prime work lost forever? where to put prime? on SSD or HDD? | emily | PrimeNet | 3 | 2013-03-01 05:49 |
| new assignment | esakertt | PrimeNet | 6 | 2012-11-09 19:51 |
| Want New Assignment | Unregistered | Information & Answers | 1 | 2012-03-28 00:02 |
| Old Assignment | Primeinator | PrimeNet | 4 | 2009-06-04 22:35 |
| How would you know if I died ? | rogue | Soap Box | 9 | 2005-11-08 19:50 |