#5929 BLOC Update.: Datastore's 'preview/' directory needs cleaning up

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 11 18:59:47 EST 2008


#5929: Datastore's 'preview/' directory needs cleaning up
----------------------+-----------------------------------------------------
  Reporter:  Phil     |       Owner:  bernie   
      Type:  defect   |      Status:  new      
  Priority:  blocker  |   Milestone:  Update.1 
 Component:  distro   |     Version:  Build 650
Resolution:           |    Keywords:           
  Verified:  0        |    Blocking:           
 Blockedby:           |  
----------------------+-----------------------------------------------------

Comment(by bernie):

 Even better, if we had a "datastore-get" command that returns non-zero on
 errors, this whole Python script would become a shell one liner:

 {{{
 find /home/olpc/.sugar/default/datastore \
    -regex '[0-9a-f]{8}-[0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' \
    -exec datastore-get {} \; -delete
 }}}

 (untested, of course)

-- 
Ticket URL: <http://dev.laptop.org/ticket/5929#comment:18>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list