Skip to content

Commit 74cf16b

Browse files
authored
Peek and PowerRename doc updates for 0.96 (#6012)
* Adding CLI Peek, and EXIF to PowerRename * Update peek.md * Adding install loc tip * Update powerrename.md
1 parent 03cf412 commit 74cf16b

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

hub/powertoys/peek.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ After deleting the file, Peek will automatically preview the next file. If there
4949
> [!TIP]
5050
> Only files may be deleted. Folders may not be deleted, even if they are empty.
5151
52+
## Use Peek from the command line
53+
54+
Peek can also be launched from the command line to preview a file. Run: `PowerToys.Peek.UI.exe <filepath>`.
55+
56+
> [!TIP]
57+
> The per-user executable is located in `%LOCALAPPDATA%\PowerToys\WinUI3Apps` by default, while the machine-wide executable is located in `C:\Program Files\PowerToys\WinUI3Apps`.
58+
5259
## Settings
5360

5461
From the settings page, the following options can be configured:

hub/powertoys/powerrename.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,42 @@ The value of the renamed file would result in:
172172
- `Nov-02-20-powertoys.png`
173173
- `Nov-03-20-powertoys-menu.png`
174174

175+
## Replace using photo metadata (EXIF or XMP)
176+
177+
When renaming photos, EXIF or XMP metadata can be used in the *Replace with* field. After selecting the EXIF/MDF option in the combobox, the variable patterns shown in the table below become available. The tooltip provides access to all supported patterns for quick insertion.
178+
179+
| Variable pattern | Explanation |
180+
| :--- | :--- |
181+
| `$CAMERA_MAKE` | Camera manufacturer name |
182+
| `$CAMERA_MODEL` | Camera model name |
183+
| `$LENS` | Lens model name |
184+
| `$ISO` | ISO sensitivity value |
185+
| `$APERTURE` | F-number aperture value |
186+
| `$SHUTTER` | Shutter speed value |
187+
| `$FOCAL` | Focal length in millimeters |
188+
| `$FLASH` | Flash status (On/Off) |
189+
| `$WIDTH` | Image width in pixels |
190+
| `$HEIGHT` | Image height in pixels |
191+
| `$AUTHOR` | Image author/artist |
192+
| `$COPYRIGHT` | Copyright information |
193+
| `$LATITUDE` | GPS latitude coordinate |
194+
| `$LONGITUDE` | GPS longitude coordinate |
195+
| `$ALTITUDE` | GPS altitude in meters |
196+
| `$DATE_TAKEN_YYYY` | Year photo was taken (4 digits) |
197+
| `$DATE_TAKEN_YY` | Year photo was taken (2 digits) |
198+
| `$DATE_TAKEN_MM` | Month photo was taken (01–12) |
199+
| `$DATE_TAKEN_DD` | Day photo was taken (01–31) |
200+
| `$DATE_TAKEN_HH` | Hour photo was taken (00–23) |
201+
| `$DATE_TAKEN_mm` | Minute photo was taken (00–59) |
202+
| `$DATE_TAKEN_SS` | Second photo was taken (00–59) |
203+
| `$EXPOSURE_BIAS` | Exposure compensation value |
204+
| `$ORIENTATION` | Image orientation |
205+
| `$COLOR_SPACE` | Color space information |
206+
| `$ALTITUDE` | GPS altitude in meters |
207+
208+
209+
210+
175211
## Regular expressions
176212

177213
For most use cases, a simple search and replace is sufficient. However, there may be occasions in which complicated renaming tasks require more control. [Regular Expressions](https://wikipedia.org/wiki/Regular_expression) can help in this scenario.

0 commit comments

Comments
 (0)