Still learning...
Aug. 18th, 2009 10:23 amOne thing I learned yesterday was that tar files are not for editing. :)
I thought I had stumbled upon a slick way of concatenating a group of text files (which is what HTML files are, essentially) into one large file (which is what tar does, essentially), but was disabused of that notion when I tried to "untar" the result, which threw a bunch of errors at me. The content had somehow, "inexplicably" changed (because I had changed it using a text editor), and that was enough to throw everything off.
All was not lost, however, as I was able to open the edited tar file and manually extract all forty-odd files, one by one, and save them as required. Something of a lesson for me, I guess.
My eyeballs are ready to stage a coup d'etat, so I think I'll quit the house for a few hours and go look at trees, or something.
Cheers...
I thought I had stumbled upon a slick way of concatenating a group of text files (which is what HTML files are, essentially) into one large file (which is what tar does, essentially), but was disabused of that notion when I tried to "untar" the result, which threw a bunch of errors at me. The content had somehow, "inexplicably" changed (because I had changed it using a text editor), and that was enough to throw everything off.
All was not lost, however, as I was able to open the edited tar file and manually extract all forty-odd files, one by one, and save them as required. Something of a lesson for me, I guess.
My eyeballs are ready to stage a coup d'etat, so I think I'll quit the house for a few hours and go look at trees, or something.
Cheers...