<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`CapacitorAdapter`](CapacitorAdapter) › [`rename`](CapacitorAdapter/rename)
## CapacitorAdapter.rename() method
1.7.2
**Signature:**
```typescript
rename(normalizedPath: string, normalizedNewPath: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>normalizedPath</code> | <code>string</code> | |
| <code>normalizedNewPath</code> | <code>string</code> | |
**Returns:**
`Promise<void>`