On Sun, May 24, 2009 at 11:33 PM, Golam Mortuza Hossain <gmhoss...@gmail.com> wrote: > Is there a way to remove literally hundreds of old snapshots from > Sage notebook (other than doing "rm -f .sage/.../snapshots/*)? > > I am trying to backup my .sage directory into a thumb-drive. > It seems, Sage creates literally Gigabytes of snapshots > even for couple of sage worksheets amounting only few > tens of Megabytes. > > Are there ways to specify, say keep only last 10 snapshots > for a given worksheet?
There's a bash script in http://trac.sagemath.org/sage_trac/ticket/5880 which removes duplicated snapshots as they used to be produced before 3.4.2. This is not quite what you want, but it might be of partial help. Gonzalo > > Thanks, > Golam > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---