libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ afc_rename_path()

afc_error_t afc_rename_path ( afc_client_t  client,
const char *  from,
const char *  to 
)

Renames a file or directory on the device.

Parameters
clientThe client to have rename.
fromThe name to rename from. (must be a fully-qualified path)
toThe new name. (must also be a fully-qualified path)
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.