summaryrefslogtreecommitdiffstats
path: root/python/macholib/doc/scripts.rst
blob: 50cf3802802e1b9cbaccf2ecfa1e10111b65487c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Command-line tools
==================

python -m macholib find
-----------------------

Usage::

        $ python -mmacholib find dir...

Print the paths of all MachO binaries
in the specified directories.

python -m macholib standalone
-----------------------------

Usage::

        $ python -m macholib standalone appbundle...

Convert one or more application bundles into 
standalone bundles. That is, copy all non-system
shared libraries and frameworks used by the bundle
into the bundle and rewrite load commands.

python -mmacholib dump
----------------------

Usage::
        
        $ python -mmacholib dump dir...

Prints information about all architectures in a 
Mach-O file as well as all libraries it links 
to.