1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 07:55:24 +02:00

idevice*, iproxy: add pages (#14363)

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Gabriel de Souza 2024-10-30 18:40:38 -03:00 committed by GitHub
parent e6889b22eb
commit c8a2495bfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 197 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# idevice_id
> List attached iOS devices or print the device name of a given device.
> More information: <https://manned.org/idevice_id>.
- List the UDIDs of all attached devices:
`idevice_id --list`
- List the UDIDs of all devices available via the network:
`idevice_id --network`

View file

@ -0,0 +1,13 @@
# idevicebackup
> Create or restore backups for iOS devices.
> Note: This tool is outdated. Please see `idevicebackup2`.
> More information: <https://manned.org/idevicebackup>.
- Create a backup of the device in the specified directory:
`idevicebackup backup {{path/to/directory}}`
- Restore a backup from the specified directory:
`idevicebackup restore {{path/to/directory}}`

View file

@ -0,0 +1,20 @@
# idevicebackup2
> Create or restore backups for devices running iOS 4 or later.
> More information: <https://manned.org/idevicebackup2>.
- Create a backup of the device in the specified directory:
`idevicebackup2 backup {{path/to/directory}}`
- Restore a backup from the specified directory:
`idevicebackup2 restore {{path/to/directory}}`
- Enable encryption for backups:
`idevicebackup2 encryption on {{password}}`
- List the files in the last completed backup:
`idevicebackup2 list`

View file

@ -0,0 +1,16 @@
# idevicecrashreport
> Retrieve crash reports from an iOS device.
> More information: <https://manned.org/idevicecrashreport>.
- Retrieve crash reports and move them to a specified directory:
`idevicecrashreport {{path/to/directory}}`
- Retrieve crash reports without removing them from the device:
`idevicecrashreport --keep {{path/to/directory}}`
- Extract crash reports into separate `.crash` files:
`idevicecrashreport --extract {{path/to/directory}}`

View file

@ -0,0 +1,16 @@
# idevicedate
> Display the current date or set it on an iOS device.
> More information: <https://manned.org/idevicedate>.
- Display the current date and time:
`idevicedate`
- Set the date and time on the device to the system time:
`idevicedate --sync`
- Set the date and time to a specific timestamp:
`idevicedate --set {{timestamp}}`

View file

@ -0,0 +1,16 @@
# idevicediagnostics
> Interact with the diagnostics interface of an iOS device.
> More information: <https://manned.org/idevicediagnostics>.
- Print diagnostics information:
`idevicediagnostics diagnostics`
- Print mobilegestalt key values:
`idevicediagnostics mobilegestalt {{key1}} {{key2}}`
- Shutdown, restart or sleep the device:
`idevicediagnostics {{shutdown|restart|sleep}}`

View file

@ -0,0 +1,12 @@
# ideviceimagemounter
> Mount disk images on an iOS device.
> More information: <https://manned.org/ideviceimagemounter>.
- Mount a disk image on the connected device:
`ideviceimagemounter {{path/to/image_file}} {{path/to/signature_file}}`
- List currently mounted disk images:
`ideviceimagemounter --list`

View file

@ -0,0 +1,12 @@
# ideviceinfo
> Show information about the first connected iOS device.
> More information: <https://manned.org/ideviceinfo>.
- Display detailed information about the connected device:
`ideviceinfo`
- Show information about a specific device by UDID:
`ideviceinfo --udid {{device_udid}}`

View file

@ -0,0 +1,12 @@
# idevicename
> Display the device name or set it to a new name.
> More information: <https://manned.org/idevicename>.
- Display the current device name:
`idevicename`
- Set a new device name:
`idevicename {{new_name}}`

View file

@ -0,0 +1,12 @@
# idevicepair
> Manage host pairings with iOS devices.
> More information: <https://manned.org/idevicepair>.
- Pair a device with the host:
`idevicepair pair`
- List devices paired with the host:
`idevicepair list`

View file

@ -0,0 +1,12 @@
# idevicescreenshot
> Get a screenshot from the connected iOS device.
> More information: <https://manned.org/idevicescreenshot>.
- Save a screenshot with the default file name as a TIFF image:
`idevicescreenshot`
- Save a screenshot with a specific file name:
`idevicescreenshot {{path/to/file.tiff}}`

View file

@ -0,0 +1,12 @@
# idevicesetlocation
> Simulate a location on an iOS device.
> More information: <https://manned.org/idevicesetlocation>.
- Set a specific latitude and longitude:
`idevicesetlocation {{latitude}} {{longitude}}`
- Reset the simulated location:
`idevicesetlocation reset`

View file

@ -0,0 +1,12 @@
# idevicesyslog
> Relay syslog messages from a connected iOS device.
> More information: <https://manned.org/idevicesyslog>.
- Relay syslog messages from the connected device:
`idevicesyslog`
- Suppress kernel messages and print everything else:
`idevicesyslog --no-kernel`

20
pages/common/iproxy.md Normal file
View file

@ -0,0 +1,20 @@
# iproxy
> A proxy that binds local TCP ports to be forwarded to the specified ports on a usbmux device.
> More information: <https://manned.org/iproxy>.
- Bind a local TCP port and forward it to a port on the connected USB device:
`iproxy {{local_port}}:{{device_port}}`
- Bind multiple local TCP ports and forward them to the respective ports on the connected USB device:
`iproxy {{local_port1}}:{{device_port1}} {{local_port2}}:{{device_port2}}`
- Bind a local port and forward it to a specific device by UDID:
`iproxy --udid {{device_udid}} {{local_port}}:{{device_port}}`
- Bind a local port and forward it to a network-connected device with WiFi sync enabled:
`iproxy --network {{local_port}}:{{device_port}}`