hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted". How can I do that? Is there any way I can split the file into several files and then do search? thanks for any help. -afan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
Try fgrep. It doesn't use regular expression matching (and your "word" is a simple fixed string, so it will work for that).
How can I do that? Is there any way I can split the file into several files and then do search?
% apropos split |fgrep '(1)' |sort 1 xml_split (1) [xml_split] - cut a big XML file into smaller chunks csplit (1) - split a file into sections determined by context lines ogmsplit (1) - Split OGG/OGM files into sevaral smaller OGG/OGM files pnmsplit (1) - see http://netpbm.sourceforge.net/doc//pnmsplit.html ppmtoyuvsplit (1) - see http://netpbm.sourceforge.net/doc//ppmtoyuvsplit.html split (1) - split a file into pieces split2po (1) - Creates a po file from two DocBook XML files splitdiff (1) - separate out incremental patches tiffsplit (1) - split a multi-image TIFF into single-image TIFF files xml_merge (1) - merge back XML files split with C<xml_split> xml_split (1) - cut a big XML file into smaller chunks yuvsplittoppm (1) - see http://netpbm.sourceforge.net/doc//yuvsplittoppm.html zipsplit (1) [zip] - package and compress (archive) files A few are potentially useful for you: split and csplit are the most probable.
thanks for any help.
-afan
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
Try fgrep. It doesn't use regular expression matching (and your "word" is a simple fixed string, so it will work for that).
"grep: memory exhausted" again :( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 10:19, Afan Pasalic wrote:
Randall R Schulz wrote:
...
Try fgrep. It doesn't use regular expression matching (and your "word" is a simple fixed string, so it will work for that).
"grep: memory exhausted" again
:(
Grrr. Are you sure it's a text file? Does it have proper Unix line endings? Does it have very long lines? Is it, perhaps, some sort of XML file? Are you really looking for "word?" What precisely is the pattern? Do you need to find every instance, or only determine whether the string occurs somewhere (at least once) within the file? If the latter, use the "-l" flag. What is the ulimit setting on your system? How much RAM do you have? How much swap is configured? Have you read the manual pages for grep/egrep/fgrep and / or the other pertinent commands? RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Afan Pasalic wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
Try fgrep. It doesn't use regular expression matching (and your "word" is a simple fixed string, so it will work for that).
"grep: memory exhausted" again :(
How much memory & swap have you got? -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Afan Pasalic pecked at the keyboard and wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
Try fgrep. It doesn't use regular expression matching (and your "word" is a simple fixed string, so it will work for that).
"grep: memory exhausted" again :(
cat file.txt | grep -i "word" might work if you onlt need to know if the "word" exists in the file. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 11:10, Ken Schneider wrote:
...
cat file.txt | grep -i "word" might work if you onlt need to know if the "word" exists in the file.
Oy. That recipe is functionally identical to 'grep -i "word" file.txt', complicated only by the overhead of pushing everything through a pipe. The "-l" option is specifically there to modify the greps' operation in the manner you suggest.
-- Ken Schneider
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz pecked at the keyboard and wrote:
On Monday 24 December 2007 11:10, Ken Schneider wrote:
...
cat file.txt | grep -i "word" might work if you onlt need to know if the "word" exists in the file.
Oy.
That recipe is functionally identical to 'grep -i "word" file.txt', complicated only by the overhead of pushing everything through a pipe.
The "-l" option is specifically there to modify the greps' operation in the manner you suggest.
Learn something new every week, used to be everyday but I'm retired now and don't want the pressure. Thanks. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-12-24 at 12:19 -0600, Afan Pasalic wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
I would report that as a bug - unless you really have too little memory
Try fgrep. It doesn't use regular expression matching (and your "word" is a simple fixed string, so it will work for that).
"grep: memory exhausted" again :(
Try cat file.txt | grep -i "word" - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcAXltTMYHG2NR9URAon8AJ9Lt7onQGcIftj/qwHMDYc7Sqx+uACeNzaA d8/FTv7RwjuvgxBhRYkL/Ig= =coRm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 20:17:45 Carlos E. R. wrote:
The Monday 2007-12-24 at 12:19 -0600, Afan Pasalic wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
I would report that as a bug - unless you really have too little memory
http://savannah.gnu.org/bugs/?9886
cat file.txt | grep -i "word"
According to the bug report, it doesn't (always?) help Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Dec 24, 2007 2:33 PM, Anders Johansson <ajh@rydsbo.net> wrote:
On Monday 24 December 2007 20:17:45 Carlos E. R. wrote:
The Monday 2007-12-24 at 12:19 -0600, Afan Pasalic wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
I would report that as a bug - unless you really have too little memory
http://savannah.gnu.org/bugs/?9886
cat file.txt | grep -i "word"
According to the bug report, it doesn't (always?) help
cat file.txt | fold | grep -i "word" Or if file.txt is really binary junk: strings file.bin | fold | grep -i "word" Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 20:39:30 Greg Freemyer wrote:
On Dec 24, 2007 2:33 PM, Anders Johansson <ajh@rydsbo.net> wrote:
On Monday 24 December 2007 20:17:45 Carlos E. R. wrote:
The Monday 2007-12-24 at 12:19 -0600, Afan Pasalic wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
I would report that as a bug - unless you really have too little memory
http://savannah.gnu.org/bugs/?9886
cat file.txt | grep -i "word"
According to the bug report, it doesn't (always?) help
cat file.txt | fold | grep -i "word"
Or if file.txt is really binary junk:
strings file.bin | fold | grep -i "word"
well, he said it was a text file, but "fold" is good to know. I hadn't seen that one before. Thanks Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 15:34:41 Afan Pasalic wrote:
I would report that as a bug - unless you really have too little memory
1GB, should be enough, right?
Depends on the file Didn't the sed command work either? Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 07:20, Anders Johansson wrote:
On Tuesday 25 December 2007 15:34:41 Afan Pasalic wrote:
I would report that as a bug - unless you really have too little memory
1GB, should be enough, right?
Depends on the file
Didn't the sed command work either?
I really think the file hasn't proper line endings. That's why all the line-oriented commands are choking on it.
Anders
-- Madness takes its toll
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 16:42:16 Randall R Schulz wrote:
On Tuesday 25 December 2007 07:20, Anders Johansson wrote:
On Tuesday 25 December 2007 15:34:41 Afan Pasalic wrote:
> I would report that as a bug - unless you really have too > little memory
1GB, should be enough, right?
Depends on the file
Didn't the sed command work either?
I really think the file hasn't proper line endings. That's why all the line-oriented commands are choking on it.
Perhaps, but I would have thought at least 'fold' would have an effect Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 08:34 -0600, Afan Pasalic wrote:
I would report that as a bug - unless you really have too little memory
1GB, should be enough, right?
Yep. And you also have some swap, I hope? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcSqmtTMYHG2NR9URAm+rAJ4vPFSOycZWbhaP4xjBAS4foqkyVACgh6fg BMFqYQ5rs/ew1Umy7Z+F12Y= =QiYy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
1.5x RAM (recommended). Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Tuesday 2007-12-25 at 08:34 -0600, Afan Pasalic wrote:
I would report that as a bug - unless you really have too little > > > memory
1GB, should be enough, right?
Yep. And you also have some swap, I hope?
- -- Cheers, Carlos E. R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHcSqmtTMYHG2NR9URAm+rAJ4vPFSOycZWbhaP4xjBAS4foqkyVACgh6fg BMFqYQ5rs/ew1Umy7Z+F12Y= =QiYy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 10:20 -0600, Afan Pasalic wrote:
1.5x RAM (recommended).
Not bad. Although there is no such thing as a recomended swap size in linux (it can be anything from 0x to 100x) :-p - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcTAwtTMYHG2NR9URAoZCAKCCGNxvWvXt5pHeHsJjyj8aJ2bs4QCeLKn0 MxwXZGTiEsQIHePyV+wxLdA= =0GUo -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Tuesday 2007-12-25 at 10:20 -0600, Afan Pasalic wrote:
1.5x RAM (recommended).
Not bad.
Although there is no such thing as a recomended swap size in linux (it can be anything from 0x to 100x) :-p
That's what I found in book(s) while was instaling my suse. :) Theory. Praxis is most likely something else. :)
- -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHcTAwtTMYHG2NR9URAoZCAKCCGNxvWvXt5pHeHsJjyj8aJ2bs4QCeLKn0 MxwXZGTiEsQIHePyV+wxLdA= =0GUo -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 10:40 -0600, afan@afan.net wrote:
1.5x RAM (recommended).
Not bad.
Although there is no such thing as a recomended swap size in linux (it can be anything from 0x to 100x) :-p
That's what I found in book(s) while was instaling my suse. :) Theory. Praxis is most likely something else. :)
Bah! I have one old computer here with 32 MB ram and nearly 1 GB swap. And in this one I have 1 GB ram and 12 GB swap. Why? Because. :-P - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD4DBQFHcV0CtTMYHG2NR9URAjzMAJQJjPlUfPPNZxHFr3dFrFZuY+i0AJ0dRe3N Hr2sHUydGr1vRv+Kzj0W4A== =BgOz -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Afan Pasalic wrote:
1.5x RAM (recommended).
IIRC, that recommendation is obsolete. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Afan Pasalic wrote:
I would report that as a bug - unless you really have too little memory
1GB, should be enough, right?
Depends on how big the words are. ;-) -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
:D James Knott wrote:
Afan Pasalic wrote:
I would report that as a bug - unless you really have too little memory 1GB, should be enough, right?
Depends on how big the words are. ;-)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 11:17, Carlos E. R. wrote:
...
Try
cat file.txt | grep -i "word"
Oh, Carlos. Say it isn't so! Have you, too, been corrupted by pipe-itis? Maybe it's just too much Christmas cheer...
-- Cheers, Carlos E. R.
RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-12-24 at 11:35 -0800, Randall R Schulz wrote:
Try
cat file.txt | grep -i "word"
Oh, Carlos. Say it isn't so!
Have you, too, been corrupted by pipe-itis?
Maybe it's just too much Christmas cheer...
Nop. The pipe helps if the problem is grep trying and failing to allocate the whole file in memory. But it will not help if the problem is trying to allocate a huge line in memory. I heard the limit was 64K. In that case, the only solution to use grep is to break into lines or chunks the file or use another tool. Maybe with "fold". Perhaps: cat file.txt | fold --width=10000 | grep -i "word" but that will not say the correct location of the match. I would code it myself, then. It would take time, but it would work. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcDyGtTMYHG2NR9URAv9MAJwPXB7K7QUCOIxZIs345Y9jS++JOgCfWR1W l/8uWmeR7wjtxDDJdVivcKY= =EYDR -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 15:11, Carlos E. R. wrote:
...
The pipe helps if the problem is grep trying and failing to allocate the whole file in memory.
Hmm... Can you show me where any of the grep commands do that? It's hard to imagine the code (by which I mean the programmer) doing that in a program that is completely without the ability to match across line boundaries. It has no benefit whatsoever. Furthermore, operating on input supplied via a pipe does not in any way preclude a program from reading its entire input into primary storage before operating on that input. Relatively few programs even bother to ascertain the kind of entity to which their descriptors are attached.
...
but that will not say the correct location of the match. ...
The OP (who seems to have lost interest...) just said "I have to find if there is a specific word in the file."
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Monday 24 December 2007 15:11, Carlos E. R. wrote:
...
The pipe helps if the problem is grep trying and failing to allocate the whole file in memory.
Hmm... Can you show me where any of the grep commands do that?
It's hard to imagine the code (by which I mean the programmer) doing that in a program that is completely without the ability to match across line boundaries. It has no benefit whatsoever.
Furthermore, operating on input supplied via a pipe does not in any way preclude a program from reading its entire input into primary storage before operating on that input. Relatively few programs even bother to ascertain the kind of entity to which their descriptors are attached.
...
but that will not say the correct location of the match. ...
The OP (who seems to have lost interest...) just said "I have to find if there is a specific word in the file." I didn't lost interest. :) Most of the things you are talking about are beyond my knowledge and "just wait for final answer" :) :) :) I tried few things recommended here but none worked. As much as I can see, the only solution is to split the file into smaller files?
-afan
-- Cheers, Carlos E. R.
Randall Schulz
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 06:44, Afan Pasalic wrote:
Randall R Schulz wrote:
...
I didn't lose interest. :) Most of the things you are talking about are beyond my knowledge and "just wait for final answer" :) :) :) I tried few things recommended here but none worked. As much as I can see, the only solution is to split the file into smaller files?
We cannot necessarily just bestow an answer upon you. How about this. What does the "file" command say about this file? I.e., say your file is named "reallyReallyBigFile," run this command: % file reallyReallyBigFile And tell us what it says. The only reason I can think that grep could not handle a very large file is that it does not have proper line breaks.
-afan
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Tuesday 25 December 2007 06:44, Afan Pasalic wrote:
... I didn't lose interest. :) Most of the things you are talking about are beyond my knowledge and "just wait for final answer" :) :) :) I
Randall R Schulz wrote: tried few things recommended here but none worked. As much as I can see, the only solution is to split the file into smaller files?
We cannot necessarily just bestow an answer upon you.
How about this. What does the "file" command say about this file? I.e., say your file is named "reallyReallyBigFile," run this command:
% file reallyReallyBigFile
And tell us what it says.
The "reallyReallyBigFile:" is actually Inbox file from Thunderbird. When I was leaving the old company 2 years ago I just copied whole T-bird to backup HD. Now, I'm looking for one very important email and the only place left is this huge Inbox file. $> file Inbox Inbox: data thanks.
The only reason I can think that grep could not handle a very large file is that it does not have proper line breaks.
-afan
Randall Schulz
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 07:29, Afan Pasalic wrote:
...
The "reallyReallyBigFile:" is actually Inbox file from Thunderbird. When I was leaving the old company 2 years ago I just copied whole T-bird to backup HD. Now, I'm looking for one very important email and the only place left is this huge Inbox file.
$> file Inbox Inbox: data
You see. It's _not_ a text file! We've been trying to get you to tell us things about this file. Now we know, it's not a text file and it's not going to be amenable to the usual text processing tools. Why don't you just access it from Thunderbird? Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 07:29, Afan Pasalic wrote:
...
The "reallyReallyBigFile:" is actually Inbox file from Thunderbird. When I was leaving the old company 2 years ago I just copied whole T-bird to backup HD. Now, I'm looking for one very important email and the only place left is this huge Inbox file.
$> file Inbox Inbox: data
You see. It's _not_ a text file! Not? But, I did the same thing to Sent, Trash and Inbox from other
Randall R Schulz wrote: profile (it was much, much smaller). I was able to open it even with TextPad on Win and search? And I saw everything pretty much "textual". That mislead me. I apology for this, really wasn't my intention.
We've been trying to get you to tell us things about this file. Now we know, it's not a text file and it's not going to be amenable to the usual text processing tools.
Why don't you just access it from Thunderbird?
I tried once and almost screwed up the "current" T-bird I use now. :) Maybe I can try on other machine?
Randall Schulz
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 10:14 -0600, Afan Pasalic wrote:
Why don't you just access it from Thunderbird? I tried once and almost screwed up the "current" T-bird I use now. :) Maybe I can try on other machine?
No need. You can rename it to something else, like "oldinbox". You will have to touch (create) another file named "oldinbox.msf", ie, an empty index file. Place both somewhere thunderbird can see them, like where the rest of its folders are, and then start thunderbird. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcS9UtTMYHG2NR9URAszXAJ9mBjgHZFEsOe5wo5k3uC6W03uwkACghsEk GN059vBmyEonifqCS1X5y7Y= =vcwS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
looks like it chocked? or it needs hour to "build summery file..."? :( Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Tuesday 2007-12-25 at 10:14 -0600, Afan Pasalic wrote:
Why don't you just access it from Thunderbird? I tried once and almost screwed up the "current" T-bird I use now. :) Maybe I can try on other machine?
No need.
You can rename it to something else, like "oldinbox". You will have to touch (create) another file named "oldinbox.msf", ie, an empty index file. Place both somewhere thunderbird can see them, like where the rest of its folders are, and then start thunderbird.
- -- Cheers, Carlos E. R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHcS9UtTMYHG2NR9URAszXAJ9mBjgHZFEsOe5wo5k3uC6W03uwkACghsEk GN059vBmyEonifqCS1X5y7Y= =vcwS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 11:44 -0600, Afan Pasalic wrote:
looks like it chocked? or it needs hour to "build summery file..."? :(
No, it is slow but not so much; but I don't have a single mailbox so large to compare. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcVQrtTMYHG2NR9URAjj1AJ47LLD1AR6Hjp21QOkgY0tvSPr62gCfXC8W kFASkLIIxMDegHbfflyefYk= =Iqxc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 08:14, Afan Pasalic wrote:
Randall R Schulz wrote:
...
You see. It's _not_ a text file!
Not? But, I did the same thing to Sent, Trash and Inbox from other profile (it was much, much smaller). I was able to open it even with TextPad on Win and search? And I saw everything pretty much "textual". That mislead me. I apology for this, really wasn't my intention.
Not to worry, but in many cases, such as this one, we need more information. That's why we ask questions.
We've been trying to get you to tell us things about this file. Now we know, it's not a text file and it's not going to be amenable to the usual text processing tools.
Why don't you just access it from Thunderbird?
I tried once and almost screwed up the "current" T-bird I use now. :) Maybe I can try on other machine?
I'm a KMail guy and my use of Thunderbird (at work) has been fairly unsophisticated, so someone with more experience can probably give you better options, but I'd start by looking for an "import" command that is meant to transfer mail from one installation to another. And if you _don't_ use KMail, then perhaps trying to import the Thunderbird mailbox into a new KMail set-up might work. There's a good chance the KMail code is unrelated to that used in Thunderbird and hence might handle some situations that Thunderbird itself does not (e.g., the possibility that your Thunderbird mailbox is corrupted somehow). Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 08:14, Afan Pasalic wrote:
...
You see. It's _not_ a text file! Not? But, I did the same thing to Sent, Trash and Inbox from other
Randall R Schulz wrote: profile (it was much, much smaller). I was able to open it even with TextPad on Win and search? And I saw everything pretty much "textual". That mislead me. I apology for this, really wasn't my intention.
Not to worry, but in many cases, such as this one, we need more information. That's why we ask questions.
We've been trying to get you to tell us things about this file. Now we know, it's not a text file and it's not going to be amenable to the usual text processing tools.
Why don't you just access it from Thunderbird? I tried once and almost screwed up the "current" T-bird I use now. :) Maybe I can try on other machine?
I'm a KMail guy and my use of Thunderbird (at work) has been fairly unsophisticated, so someone with more experience can probably give you better options, but I'd start by looking for an "import" command that is meant to transfer mail from one installation to another.
And if you _don't_ use KMail, then perhaps trying to import the Thunderbird mailbox into a new KMail set-up might work. There's a good chance the KMail code is unrelated to that used in Thunderbird and hence might handle some situations that Thunderbird itself does not (e.g., the possibility that your Thunderbird mailbox is corrupted somehow). I don't use KMail, but I can try that one too (now, to get that important email I'll do anything :)). Right now I installed T-bird on one old machine and moved the Inbox file to it. T-bird is "Building summary file for Inbox..." and looks
Randall R Schulz wrote: promising. And it needs a time to "build" because old Inbox is really huge :( Btw (OT), how you guys handle old emails? Delete all older than 2 years? Move to other place place? Keep all your email on your "current" computer? I changed several computers last few years (mostly desktops and laptops I got from company) and every time I "make a backup" but never put it back on new machine? Thanks. -afan
Randall Schulz
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 09:02, Afan Pasalic wrote:
...
Btw (OT), how you guys handle old emails? Delete all older than 2 years? Move to other place place? Keep all your email on your "current" computer? I changed several computers last few years (mostly desktops and laptops I got from company) and every time I "make a backup" but never put it back on new machine?
I'm a packrat. I keep everything. I just make historical archive sub-mailboxes and transfer old mail to them every time the main mailbox gets beyond a few thousand messages. For lists as active as openSUSE, that's monthly. For others, it need only be annually, and others in between, of course. My "inbox" is _only_ used for uncategorized (and thus unimportant and transient) mail and for the rare bit of spam that doesn't get flagged by my ISP's SpamAssassin (they have more false positives than false negatives, it seems). Everything else has its own mailbox. I have a personal hierarchy and a professional hierarchy and one for my business.
Thanks.
-afan
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
If this is a one-off why not wrote the trivial C program? ==John ffitch "This research is of insufficient standard" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 11:02 -0600, Afan Pasalic wrote:
I'm a KMail guy and my use of Thunderbird (at work) has been fairly unsophisticated, so someone with more experience can probably give you better options, but I'd start by looking for an "import" command that is meant to transfer mail from one installation to another.
Both kmail and thunderbird use basically the same mailfolder format; the difference is in the indexes. And it is the same format used by plain unix mail, mutt, pine, alpine, balsa... as long as you use mbox, not maildir. And it is also a text format: any editor should be able to open them - even change it, if you know the format. But of course, a 1Gb mbox file is some thing to cough and choke at. I would try mc.
Btw (OT), how you guys handle old emails? Delete all older than 2 years? Move to other place place? Keep all your email on your "current" computer? I changed several computers last few years (mostly desktops and laptops I got from company) and every time I "make a backup" but never put it back on new machine?
I move to yearly mailboxes: account-2005, ...2006, etc. The problem with mail archives is that they don't work from a CD/DVD, because mail programs want to open them r/w. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcVbhtTMYHG2NR9URAmwkAJ45DUYaX8eUR47E7Zj7Y0ZKhIYQ1ACfSS00 3kgIKEVH1nmyYGxP72KTtQk= =PT44 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007/12/25 11:02 (GMT-0600) Afan Pasalic apparently typed:
Btw (OT), how you guys handle old emails? Delete all older than 2 years? Move to other place place? Keep all your email on your "current" computer? I changed several computers last few years (mostly desktops and laptops I got from company) and every time I "make a backup" but never put it back on new machine?
Whatever you do otherwise, before archiving old mozilla app mail, be sure to first delete or detach unneeded attachments, then compact folders. I use filters, and so have a lot of "folders". Each Jan 1 I archive them all to a "subfolder", then proceed into the new year starting with empty current "folders". ATM, my 2007 SUSE "folder" is my 3rd largest 2007 "folder", but it's only about 4000k. #1 is 5200k. When I want to find some old email based upon email address, name, or content, I search the directory tree with my OFM, and copy & paste as necessary. -- Jesus Christ, the reason for the season. Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 22:25 -0500, Felix Miata wrote:
Whatever you do otherwise, before archiving old mozilla app mail, be sure to first delete or detach unneeded attachments, then compact folders.
Can mozilla do that? Delete the attachments? Sometimes I do that with Pine, but then I forgot shich file came from where. Currently Alpine replaces the attachement with a note about the missing file, which is better. If it allowed me to edit the note, it would even be much better.
When I want to find some old email based upon email address, name, or content, I search the directory tree with my OFM, and copy & paste as necessary.
OFM? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcjA7tTMYHG2NR9URAjvyAJ4vRWIv3VhTYx7H8uKnsXfnhc4ZiACfXhp6 SzfSA9/dTDDHItvDS0kNRg8= =AIPP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 26 December 2007 04:42:54 am Carlos E. R. wrote:
OFM?
Orthodox File Manager, one of them is Midnight Commander. http://www.softpanorama.org/OFM/index.shtml -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rajko M. wrote:
On Wednesday 26 December 2007 04:42:54 am Carlos E. R. wrote:
OFM?
Orthodox File Manager, one of them is Midnight Commander.
My file manager is super-duper flexible. /bin/bash. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007/12/26 11:42 (GMT+0100) Carlos E. R. apparently typed:
The Tuesday 2007-12-25 at 22:25 -0500, Felix Miata wrote:
Whatever you do otherwise, before archiving old mozilla app mail, be sure to first delete or detach unneeded attachments, then compact folders.
Sometimes I do that with Pine, but then I forgot shich file came from where. Currently Alpine replaces the attachement with a note about the missing file, which is better.
The latter is what SM & TB do.
When I want to find some old email based upon email address, name, or content, I search the directory tree with my OFM, and copy & paste as necessary.
OFM?
Considering the context, you should be ashamed of yourself for needing to ask. :-p Hit #1: http://www.acronymfinder.com/af-query.asp?Acronym=ofm&Find=find&string=exact http://www.softpanorama.org/OFM/index.shtml -- Jesus Christ, the reason for the season. Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2007-12-26 at 09:27 -0500, Felix Miata wrote:
The Tuesday 2007-12-25 at 22:25 -0500, Felix Miata wrote:
Whatever you do otherwise, before archiving old mozilla app mail, be sure to first delete or detach unneeded attachments, then compact folders.
Sometimes I do that with Pine, but then I forgot shich file came from where. Currently Alpine replaces the attachement with a note about the missing file, which is better.
The latter is what SM & TB do.
Agh, another one... TB I suppose might be thunderbird, but SM :-?
When I want to find some old email based upon email address, name, or content, I search the directory tree with my OFM, and copy & paste as necessary.
OFM?
Considering the context, you should be ashamed of yourself for needing to ask. :-p Hit #1: http://www.acronymfinder.com/af-query.asp?Acronym=ofm&Find=find&string=exact http://www.softpanorama.org/OFM/index.shtml
I tried 'wtf' and drew a blank. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcqIEtTMYHG2NR9URAtuKAJ0aQX4XkgF8unv0YI1in8gvtvH+gQCdGLBJ QlW5aovUxskGm5LyFCNhYrE= =PrRP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Dec 26, 2007 12:48 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
Agh, another one... TB I suppose might be thunderbird, but SM :-?
SeaMonkey? -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007/12/26 19:48 (GMT+0100) Carlos E. R. apparently typed:
The Wednesday 2007-12-26 at 09:27 -0500, Felix Miata wrote:
The latter is what SM & TB do.
Agh, another one... TB I suppose might be thunderbird, but SM :-?
SM predates Phoenix aka Firefird aka Firefox, which predates TB. http://en.wikipedia.org/wiki/SeaMonkey My UA tells me your UA is Alpine 1.00 (LSU 882 2007-12-20). If yours did likewise, a mega-hint would have been staring you in the face while reading my message. -- Jesus Christ, the reason for the season. Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 26 December 2007 01:29:57 pm Felix Miata wrote:
The Wednesday 2007-12-26 at 09:27 -0500, Felix Miata wrote:
The latter is what SM & TB do.
Agh, another one... TB I suppose might be thunderbird, but SM :-?
SM predates Phoenix aka Firefird aka Firefox, which predates TB. http://en.wikipedia.org/wiki/SeaMonkey
My UA tells me your UA is Alpine 1.00 (LSU 882 2007-12-20). If yours did likewise, a mega-hint would have been staring you in the face while reading my message.
:-D Can somebody, using SM, FF, or any other browser, update: http://en.opensuse.org/Acronyms with OFM, TB, FF, UA, and more that comes to mind during visit, ie. edit. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 26 December 2007 02:11:43 pm Rajko M. wrote:
On Wednesday 26 December 2007 01:29:57 pm Felix Miata wrote:
The Wednesday 2007-12-26 at 09:27 -0500, Felix Miata wrote:
The latter is what SM & TB do.
Agh, another one... TB I suppose might be thunderbird, but SM :-?
SM predates Phoenix aka Firefird aka Firefox, which predates TB. http://en.wikipedia.org/wiki/SeaMonkey
My UA tells me your UA is Alpine 1.00 (LSU 882 2007-12-20). If yours did likewise, a mega-hint would have been staring you in the face while reading my message.
:-D
Can somebody, using SM, FF, or any other browser, update: http://en.opensuse.org/Acronyms with OFM, TB, FF, UA, and more that comes to mind during visit, ie. edit.
Ops. I have forgotten to tell why I can't do that right now. I'm reading LFS book which is product of: http://www.linuxfromscratch.org/ -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2007-12-26 at 14:29 -0500, Felix Miata wrote:
Agh, another one... TB I suppose might be thunderbird, but SM :-?
SM predates Phoenix aka Firefird aka Firefox, which predates TB. http://en.wikipedia.org/wiki/SeaMonkey
My UA tells me your UA is Alpine 1.00 (LSU 882 2007-12-20). If yours did likewise, a mega-hint would have been staring you in the face while reading my message.
Of course it does, if I knew what you were talking about. And it is not UA, but MUA; but you insist in using not common abreviations with somebody whose own culture is not English, and thus can not understand what you say unless doing a much increased effort. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcriAtTMYHG2NR9URAhXaAJ9JQqivgc+OGt9DyTnj0T4djGn4oACfUleI Q3CuzqeEgMuaCYKr2v7gOys= =O3M5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007/12/25 07:48 (GMT-0800) Randall R Schulz apparently typed:
On Tuesday 25 December 2007 07:29, Afan Pasalic wrote:
The "reallyReallyBigFile:" is actually Inbox file from Thunderbird. When I was leaving the old company 2 years ago I just copied whole T-bird to backup HD. Now, I'm looking for one very important email and the only place left is this huge Inbox file.
$> file Inbox Inbox: data
You see. It's _not_ a text file!
We've been trying to get you to tell us things about this file. Now we know, it's not a text file and it's not going to be amenable to the usual text processing tools.
IMO, it _is_ basically a text file. But at that size the most likely reasons it _is_ that 1.6G size, and looks like non-text, are: 1-it includes multipart encoded mail (which usually means either binary or HTML attachments are included; in most cases from spam) 2-it either has never or has rarely been compacted (actual removal of "deleted" mail, and actual removal of detached or deleted attachments) 3-filtering hasn't been used to divert much or any of it to other folders In essence, even though it is text at heart, multipart encoding makes it a hybrid of text and binary. I frequently search through these files via my OFM's internal text editor's search function for email addresses, or for portions of email content I would otherwise have no idea where to look for, to copy and paste into some newer email. The main lesson here is mozilla email apps do not automatically compact deletions and moves, which means their users, in order to recover a large amount of otherwise wasted memory space, should periodically select to "compact folders" from the file menu. -- Jesus Christ, the reason for the season. Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 09:29 -0600, Afan Pasalic wrote:
The "reallyReallyBigFile:" is actually Inbox file from Thunderbird. When I was leaving the old company 2 years ago I just copied whole T-bird to backup HD. Now, I'm looking for one very important email and the only place left is this huge Inbox file.
$> file Inbox Inbox: data
Uh-oh... that doesn't seem a mailbox - although sometimes "file" doesn't guess right. You should get something like this: cer@nimrodel:~> file Mail.mzla/Inbox* Mail.mzla/Inbox: ISO-8859 mail text Mail.mzla/Inbox.msf: ASCII C++ program text You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcSuFtTMYHG2NR9URAkbiAJ9m9glB9IDKgkIbQkYhtn7NWEJk0gCePz+S rhVIDT3xldUPbvBt+orU2hs= =/SM0 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
You should get something like this:
cer@nimrodel:~> file Mail.mzla/Inbox* Mail.mzla/Inbox: ISO-8859 mail text Mail.mzla/Inbox.msf: ASCII C++ program text
I have file Inbox Inbox: UTF-8 Unicode mail text, with very long lines I know the problem. sometime there are very long binary files (photos...) in hex coded form and this can kill apps. AFAIR I could manage this with gvim, but working with grep in binary mode could give the trick jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 10:10:44 am Carlos E. R. wrote:
You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash.
I would like to see if Afan can read and search file using Midnight Commander built in viewer. By now I had no problems with any size and type of file. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hm. Let me try. Actually, let me see if MC is installed on my machine first. :) Rajko M. wrote:
On Tuesday 25 December 2007 10:10:44 am Carlos E. R. wrote:
You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash.
I would like to see if Afan can read and search file using Midnight Commander built in viewer. By now I had no problems with any size and type of file.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I just installed MC (using Yast) but can't find it and start it?!?!? Rajko M. wrote:
On Tuesday 25 December 2007 10:10:44 am Carlos E. R. wrote:
You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash.
I would like to see if Afan can read and search file using Midnight Commander built in viewer. By now I had no problems with any size and type of file.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 12:10:41 pm Afan Pasalic wrote:
Rajko M. wrote:
On Tuesday 25 December 2007 10:10:44 am Carlos E. R. wrote:
You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash.
I would like to see if Afan can read and search file using Midnight Commander built in viewer. By now I had no problems with any size and type of file. I just installed MC (using Yast) but can't find it and start it?!?!?
It is console program: mc will start it. It seems that you are first time user. Look at: http://en.opensuse.org/Midnight_Commander http://en.opensuse.org/Midnight_Commander/Tips -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
"File is too large: Inbox" :( Rajko M. wrote:
On Tuesday 25 December 2007 12:10:41 pm Afan Pasalic wrote:
Rajko M. wrote:
On Tuesday 25 December 2007 10:10:44 am Carlos E. R. wrote:
You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash. I would like to see if Afan can read and search file using Midnight Commander built in viewer. By now I had no problems with any size and type of file. I just installed MC (using Yast) but can't find it and start it?!?!?
It is console program: mc
will start it.
It seems that you are first time user. Look at: http://en.opensuse.org/Midnight_Commander http://en.opensuse.org/Midnight_Commander/Tips
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 12:47 -0500, afan pasalic wrote:
It is console program: mc
"File is too large: Inbox" :(
Impossible! I just opened a 4.7GB file to try (a DVD image). No problem! Did you try "view" (F3) or "edit" (F4)? Use "view". Then I went and opened a 28 GB file, except that 'mc' is allocated 3070MB,, and I only have 1 GB, so most of it is swap. But it works! You can try also view in hex mode, it is faster. top: top - 20:34:19 up 3:52, 27 users, load average: 0.37, 1.08, 0.85 Tasks: 192 total, 1 running, 191 sleeping, 0 stopped, 0 zombie Cpu(s): 5.6%us, 1.0%sy, 0.0%ni, 92.4%id, 0.7%wa, 0.3%hi, 0.0%si, 0.0%st Mem: 1036364k total, 1022244k used, 14120k free, 2528k buffers Swap: 12594880k total, 2698016k used, 9896864k free, 87108k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13328 cer 15 0 3070m 802m 1048 S 0.0 79.3 0:20.68 mc 6760 cer 15 0 129m 6264 2804 S 0.7 0.6 0:09.33 gnome-terminal Hex view of then of the file: FC23ABA0 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABA8 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABB0 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABB8 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABC0 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABC8 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABD0 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABD8 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABE0 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABE8 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABF0 0A 0A 0A 0A 0A 0A 0A 0A ........ FC23ABF8 0A 0A 0A 0A 0A 0A 0A 0A ........ So, if I could view a 28 GB file, you certainly can view a 1.5 GB file. Increase your swap space (don't buy more memory, you only need it once). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcVwCtTMYHG2NR9URAnBQAJ4k+3RO3L647TFK3YS8B/CqQm60KgCdEZim PTPRZYR7MHalJoU1tTctCIU= =o4Wv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 11:37, Carlos E. R. wrote:
The Tuesday 2007-12-25 at 12:47 -0500, afan pasalic wrote:
It is console program: mc
"File is too large: Inbox"
:(
Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Perhaps we should be considering the possibility that there is some file system corruption afoot on Afan's system?
...
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
most likely. :( Randall R Schulz wrote:
On Tuesday 25 December 2007 11:37, Carlos E. R. wrote:
The Tuesday 2007-12-25 at 12:47 -0500, afan pasalic wrote:
It is console program: mc "File is too large: Inbox"
:( Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Perhaps we should be considering the possibility that there is some file system corruption afoot on Afan's system?
...
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Just opened the Inbox from "Old Profile", a little bit over 800MB without problem. It really looks like it's corrupted. :( Randall R Schulz wrote:
On Tuesday 25 December 2007 11:37, Carlos E. R. wrote:
The Tuesday 2007-12-25 at 12:47 -0500, afan pasalic wrote:
It is console program: mc "File is too large: Inbox"
:( Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Perhaps we should be considering the possibility that there is some file system corruption afoot on Afan's system?
...
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 11:45 -0800, Randall R Schulz wrote:
"File is too large: Inbox"
:(
Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Perhaps we should be considering the possibility that there is some file system corruption afoot on Afan's system?
No, he tried "edit" instead of "view" - he just said so in a private email; and in view mode he sees dots, which is not a good sign. Just told him to try hex mode. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcWHLtTMYHG2NR9URAoC/AJ49Ae34/sAm9btxK51gSrPPcjjVIwCfd4Ii mLMzKr7p9cBvT9vMDLogCE4= =5Zmi -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
two good and one bad news: good 1: I found "original" Inbox and was able to open it wit MC without any problem. good 2: I really like MC. I think I'm going to use more often. bad: didn't find what I was looking for :( case closed. thanks for help. and thanks for stuff I learned through this "search" problem. happy holidays. -afan Randall R Schulz wrote:
On Tuesday 25 December 2007 11:37, Carlos E. R. wrote:
The Tuesday 2007-12-25 at 12:47 -0500, afan pasalic wrote:
It is console program: mc "File is too large: Inbox"
:( Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Perhaps we should be considering the possibility that there is some file system corruption afoot on Afan's system?
...
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007/12/25 15:59 (GMT-0600) Afan Pasalic apparently typed:
two good and one bad news: good 1: I found "original" Inbox and was able to open it wit MC without any problem. good 2: I really like MC. I think I'm going to use more often. bad: didn't find what I was looking for :(
Note that MC is (IMO) the master swiss army knife of the open source world. In particular, make note of two particular functions: 1-directory hotlists 2-built in FTP That means you need never be more than 3 or so keystrokes from your favorite repo, even when your X and/or yast and/or smart and/or zypper is/are totally broken. -- Jesus Christ, the reason for the season. Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 15:59 -0600, Afan Pasalic wrote:
two good and one bad news: good 1: I found "original" Inbox and was able to open it wit MC without any problem. good 2: I really like MC. I think I'm going to use more often. bad: didn't find what I was looking for :(
case closed.
thanks for help. and thanks for stuff I learned through this "search" problem.
Welcome! You will see soon that you can't be without Midnight Comander ;-) You can see inside an rpm and extract or view a single file, you can compress trees into tar.gz archives, connect to a remote ftp server, edit a file (sometimes with syntax coloring), copy or move or delete bunch of files /fast/, search for a pattern on a tree, selecting the files that match for more processing... and many more I forget. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcjHXtTMYHG2NR9URAlEGAJ9FWi2r3IFmMjBIefahdke/wEeV7ACeIoFG iLVVQfc+hmOMq9P9akOf7rY= =VSoY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Tuesday 25 December 2007 11:37, Carlos E. R. wrote:
The Tuesday 2007-12-25 at 12:47 -0500, afan pasalic wrote:
It is console program: mc "File is too large: Inbox"
:( Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Perhaps we should be considering the possibility that there is some file system corruption afoot on Afan's system?
Or possibly the mailbox file.
...
-- Cheers, Carlos E. R.
Randall Schulz
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007/12/25 12:45 (GMT-0600) Rajko M. apparently typed:
On Tuesday 25 December 2007 12:10:41 pm Afan Pasalic wrote:
Rajko M. wrote:
On Tuesday 25 December 2007 10:10:44 am Carlos E. R. wrote:
You could have a look at it using "mc". The search will not be so fast, but I don't think it will crash.
I would like to see if Afan can read and search file using Midnight Commander built in viewer. By now I had no problems with any size and type of file.
I just installed MC (using Yast) but can't find it and start it?!?!?
I think it stinks that any type of distro installation that doesn't automatically include it is even possible. :-(
It is console program: mc
will start it.
It's also in the Konsole menu. I rarely ever have less than 1 mc session open, but usually it's more like 3 minimum. -- Jesus Christ, the reason for the season. Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Afan Pasalic wrote:
I just installed MC (using Yast) but can't find it and start it?!?!?
What happens if you open a terminal session and type "mc"? -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 December 2007 07:29, Afan Pasalic wrote:
Randall R Schulz wrote: ...
The "reallyReallyBigFile:" is actually Inbox file from Thunderbird. When I was leaving the old company 2 years ago I just copied whole T-bird to backup HD. Now, I'm looking for one very important email and the only place left is this huge Inbox file.
$> file Inbox Inbox: data
Is there a place you could post, say, the first few megabytes of this file so we could look at it? You can create such an excerpt using this command, or a similar one: % dd if=superUltraLargeVeryProblematicFile of=excerptThereof bs=1M count=2 The size of the result will be the count value times the bs value. The 'M' suffix means "megabytes" in the CS sense (1024 * 1024). The invocation shown above will produce the 2 megabyte excerpt Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 17:49:52 Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
How can I do that? Is there any way I can split the file into several files and then do search?
thanks for any help.
-afan
Have you tried running Beagle, then using a front end like Kerry? :) Actually, that's a good point - I'll have to see how large a text file beagle can index. Just need to find some large text files to test with. I'd check if a memory limitation exists: peter@xindi:->ulimit -all | grep virtual virtual memory (kbytes, -v) 4176480 or just ulimit -v, like that output tells me. Here I've got the full 4Gb to work with on this machine. If you get some dubious value I'd look to increase that using the same ulimit command line tool. Cheers Pete -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 18:49:52 Afan Pasalic wrote:
hi, I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
How can I do that? Is there any way I can split the file into several files and then do search?
thanks for any help.
If grep can't do it, try sed sed -ne '/word/p' file.txt Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 20:03:56 Anders Johansson wrote:
$> grep -i "word" file.txt sed -ne '/word/p' file.txt
Oops, forgot the case insensitive thing. sed -ne '/word/Ip' file.txt Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-12-24 at 11:49 -0600, Afan Pasalic wrote:
I have 1.6 GB big text file and I have to find if there is a specific word in the file. Every time I try $> grep -i "word" file.txt I'll get message: "grep: memory exhausted".
Try: grep --binary-files=binay -i "word" file.txt Or perhaps " --binary-files=without-match". Or maybe "--binary". I haven't tested any of them. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcE0GtTMYHG2NR9URAsuIAJ9nIQ1woQX+81pkjcQW5ZcmQAPpaACgiGr3 ZBVI0WyTX8a7JRcPwx0oQbQ= =ceBG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (16)
-
Aaron Kulkis
-
Afan Pasalic
-
afan pasalic
-
afan@afan.net
-
Anders Johansson
-
Carlos E. R.
-
Felix Miata
-
Greg Freemyer
-
James Knott
-
jdd
-
jpff
-
Ken Schneider
-
Pete Connolly
-
Rajko M.
-
Randall R Schulz
-
Sunny