1FLATPAK CREATE-USB(1)         flatpak create-usb         FLATPAK CREATE-USB(1)
2
3
4

NAME

6       flatpak-create-usb - Copy apps and/or runtimes onto removable media.
7

SYNOPSIS

9       flatpak create-usb [OPTION...] MOUNT-PATH REF...
10

DESCRIPTION

12       Copies the specified apps and/or runtimes REFs onto the removable media
13       mounted at MOUNT-PATH, along with all the dependencies and metadata
14       needed for installing them. This is one way of transferring flatpaks
15       between computers that doesn't require an Internet connection. After
16       using this comand, the USB drive can be connected to another computer
17       and flatpak install will prefer to install from it rather than the
18       Internet if the refs are the newest available. For this process to work
19       a collection ID must be configured on the relevant remotes on both the
20       source and destination computers, and on the remote server.
21
22       Each REF argument is a full or partial indentifier in the flatpak ref
23       format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements
24       except ID are optional and can be left out, including the slashes, so
25       most of the time you need only specify ID. Any part left out will be
26       matched against what is installed, and if there are multiple matches an
27       error message will list the alternatives.
28
29       By default this looks for both installed apps and runtimes with the
30       given REF, but you can limit this by using the --app or --runtime
31       option.
32
33       All REFs must be in the same installation (user, system, or other).
34       Otherwise it's ambiguous which repository metadata refs to put on the
35       USB drive.
36
37       By default flatpak create-usb uses .ostree/repo as the destination
38       directory under MOUNT-PATH but if you specify another location using
39       --destination-repo a symbolic link will be created for you in
40       .ostree/repos.d. This ensures that either way the repository will be
41       found by flatpak (and other consumers of libostree) for install/update
42       operations.
43
44       Unless overridden with the --system, --user, or --installation options,
45       this command searches both the system-wide installation and the
46       per-user one for REF and errors out if it exists in more than one.
47

OPTIONS

49       The following options are understood:
50
51       -h, --help
52           Show help options and exit.
53
54       --user
55           Copy refs from the per-user installation.
56
57       --system
58           Copy refs from the default system-wide installation.
59
60       --installation=NAME
61           Copy refs from a system-wide installation specified by NAME among
62           those defined in /etc/flatpak/installations.d/. Using
63           --installation=default is equivalent to using --system.
64
65       --app
66           Assume that all REFs are apps if not explicitly specified.
67
68       --runtime
69           Assume that all REFs are runtimes if not explicitly specified.
70
71       --destination-repo=DEST
72           Create the repository in DEST under MOUNT-PATH, rather than the
73           default location.
74
75       -v, --verbose
76           Print debug information during command processing.
77
78       --ostree-verbose
79           Print OSTree debug information during command processing.
80

EXAMPLES

82       $ flatpak create-usb
83       /run/media/mwleeds/1a9b4cb2-a7ef-4d9b-91a5-6eaf8fdd2bf6/
84       com.endlessm.wiki_art.en
85

SEE ALSO

87       flatpak(1), flatpak-install(1), flatpak-list(1), ostree-create-usb(1)
88
89
90
91flatpak                                                  FLATPAK CREATE-USB(1)
Impressum