Git Product home page Git Product logo

blame-bird's Introduction

blame-bird.py

This Python script tries to figure out which app uses a lot of space and files in the Library/Caches/com.apple.bird folder on your mac.

$ python blame-bird.py
4R6749AYRE.com.pixelmatorteam.pixelmator            0.00MB      1
com.apple.shoebox                                   0.00MB      3
com.apple.TextInput                                 0.00MB      7
iCloud.com.apple.iBooks                             0.00MB      2
57T9237FN3.net.whatsapp.WhatsApp                 6904.66MB    647

Accounted for: 6904MB.  Still unaccounted: 1879MB

If you supply the app name as argument, the script generates a list of related files (uncomment | xargs du -hs to add file sizes).

$ python blame-bird.py com.apple.TextInput # | xargs du -hs
/Users/usr/Library/Caches/com.apple.bird/session/g/C8E6D0A6-46A8-4803-8DDE-451341DD2DBA
/Users/usr/Library/Caches/com.apple.bird/session/g/4DF22D5F-464A-4F11-9CC5-4D9A073E0D59
/Users/usr/Library/Caches/com.apple.bird/session/g/8E0BB4C3-C0C6-495F-AC60-B750971EF17D
/Users/usr/Library/Caches/com.apple.bird/session/g/9F21F0B3-26C3-4066-A11E-7A853DF7E4F5
/Users/usr/Library/Caches/com.apple.bird/session/g/1FB77878-5975-47EC-A062-C7326FBBE496
/Users/usr/Library/Caches/com.apple.bird/session/g/B4B6DCFE-9958-498E-9B53-8C6195A2CF30
/Users/usr/Library/Caches/com.apple.bird/session/g/28456B01-2DDD-4F08-924A-6C1BB8F04464

See this question on Ask Different.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.