← All procedures
iosBackup.find
Find the iPhone backups (MobileSync) on this computer, the newest first
CLI- Package
- @procedures/ios-backup · README
- Path
["iosBackup","find"]- CLI
mark iosBackup find- As data
{"$proc":["iosBackup","find"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/ios-backup/register"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["iosBackup","find"], {});
console.log(JSON.stringify(result));From the command line
$ mark iosBackup find
As data, in a program
{ "$proc": ["iosBackup", "find"], "input": {} }Input
Output
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"roots": {
"description": "The folders that hold the backup folders (default: the MobileSync folders of Windows and macOS)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
}
},
"output": {
"type": "object",
"properties": {
"latest": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"modifiedAt": {
"type": "string"
}
},
"required": [
"path",
"modifiedAt"
],
"additionalProperties": false
},
"backups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"modifiedAt": {
"type": "string"
}
},
"required": [
"path",
"modifiedAt"
],
"additionalProperties": false
}
},
"roots": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"backups",
"roots"
],
"additionalProperties": false
}
}