On Jul 16, 9:07 am, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> On Thu, Jul 16, 2009 at 10:57 PM, kcrisman<kcris...@gmail.com> wrote:
>
> <SNIP>
>
> > 2) .sws files are really just some kind of zip file. So unzipping it
> > will reveal the folder for the worksheet, and you can then manually
> > remove the snapshots (assuming you don't need them currently) and then
> > rezip it. I can't remember if they are .bz2, .zip, or what - someone
> > else will hopefully respond to this - but the point it that the files
> > are not weird, so one can sort of manually do this.
>
> Sage worksheets are compressed using tar and bzip2. Say your worksheet
> is called myworksheet.sws, then this would uncompress it:
>
> $ tar -jxf myworksheet.sws
>
> You then get a directory containing the worksheet data.
>
Probably this will be named by a number, e.g.
55
which would be worksheet # 56, starting at zero (not counting if you
deleted some).
After getting rid of whatever you want, then you would have to
recompress it, of course, to recreate a .sws file. Minh, the command
is...? Maybe something like
tar -jcf myworksheet.sws 55
at least I think that is the correct order to put the filename and the
directory.
Since you are using VMWare, I assume that there is a way to get a
command line in the Linux virtual machine to do these things. It is
likely that StuffIt or whatever Windows utility does this sort of
thing can also do all this, but I am not sure about how to get it to
restuff into a nonstandard filename ending (like .sws).
- kcrisman
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---