You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,7 +25,7 @@ In this demo, all instances of the file name "foo" are replaced with "foobar". S
25
25
26
26
## PowerRename window
27
27
28
-
After selecting files in Windows File Explorer, right-clicking and selecting **PowerRename** (which will appear only when enabled in PowerToys), the PowerRename window will appear. The number of items you've selected will be displayed, along with search and replace values, a list of options, and a preview window displaying results of the search and replace values you've entered.
28
+
After selecting files in Windows File Explorer, right-clicking and selecting **PowerRename** (which will appear only if enabled in PowerToys), the PowerRename window will appear. The number of items you've selected will be displayed, along with search and replace values, a list of options, and a preview window displaying results of the search and replace values you've entered.
29
29
30
30

31
31
@@ -37,7 +37,7 @@ Enter text or a [regular expression](https://wikipedia.org/wiki/Regular_expressi
37
37
38
38
Enter text to replace the _Search for_ value entered previously. You can view the original file name and renamed file name in the _Preview_ window.
39
39
40
-
### Use Regular Expressions
40
+
### Use regular expressions
41
41
42
42
If checked, the Search value will be interpreted as a [regular expression](https://wikipedia.org/wiki/Regular_expression) (regex). The Replace value can also contain regex variables (see [examples below](#regular-expressions)). If not checked, the Search value will be interpreted as plain text to be replaced with the text in the Replace field.
43
43
@@ -54,40 +54,40 @@ For example, given the file name: `powertoys-powerrename.txt`:
54
54
55
55
The value of the renamed file would result in:
56
56
57
-
- Match all occurrences (unchecked): `supertoys-powerrename.txt`
58
-
- Match all occurrences (checked): `supertoys-superrename.txt`
57
+
- Match all occurrences unchecked: `supertoys-powerrename.txt`
58
+
- Match all occurrences checked: `supertoys-superrename.txt`
59
59
60
-
### Case Sensitive
60
+
### Case sensitive
61
61
62
-
If checked, the text specified in the Search field will only match text in the items if the text is the same case. Case matching will be insensitive (not recognizing a difference between upper and lowercase letters) by default.
62
+
If checked, the text specified in the _Search_ field will only match text in the items if the text is the same case. Case matching will be insensitive (not recognizing a difference between upper and lowercase letters) by default.
63
63
64
64
### Apply to: Filename only
65
65
66
-
Only the file name (not the file extension) is modified by the operation. For example: `txt.txt` → `NewName.txt`
66
+
Only the file name (not the file extension) is modified by the operation. For example: `txt.txt` → `NewName.txt`.
67
67
68
68
### Apply to: Extension only
69
69
70
-
Only the file extension is modified by the operation. For example: `txt.txt` → `txt.NewExtension`
70
+
Only the file extension is modified by the operation. For example: `txt.txt` → `txt.NewExtension`.
71
71
72
-
### Include Files
72
+
### Include files
73
73
74
74
Deselecting causes files to not be included in the operation.
75
75
76
-
### Include Folders
76
+
### Include folders
77
77
78
78
Deselecting causes folders to not be included in the operation.
79
79
80
-
### Include Subfolders
80
+
### Include subfolders
81
81
82
82
Deselecting causes files within folders to not be included in the operation. By default, all subfolder items are included.
83
83
84
-
### Text Formatting
84
+
### Text formatting
85
85
86
86
Select between four options to either convert items to be all lowercase, all uppercase, title case (first character of name is capitalized), or capitalize each word.
87
87
88
-
### Enumerate Items
88
+
### Enumerate items
89
89
90
-
Appends a numeric suffix to file names that were modified in the operation. For example: `foo.jpg`->`foo (1).jpg`
90
+
Appends a numeric suffix to file names that were modified in the operation. For example: `foo.jpg`→`foo (1).jpg`
91
91
92
92
## Replace using file creation date and time
93
93
@@ -131,7 +131,7 @@ The value of the renamed file would result in:
131
131
-`Nov-02-20-powertoys.png`
132
132
-`Nov-03-20-powertoys-menu.png`
133
133
134
-
## Regular Expressions
134
+
## Regular expressions
135
135
136
136
For most use cases, a simple search and replace is sufficient. There may be occasions, however, in which complicated renaming tasks require more control. [Regular Expressions](https://wikipedia.org/wiki/Regular_expression) can help.
137
137
@@ -167,7 +167,7 @@ _When using the variables, the "Match all occurrences" option must be enabled._
167
167
|`(.*).png`|`foo_$1.png`| Prepends "foo\_" to the existing file name for PNG files |
168
168
|`(.*).png`|`$1_foo.png`| Appends "\_foo" to the existing file name for PNG files |
169
169
|`(.*)`|`$1.txt`| Appends ".txt" extension to existing file |
170
-
|`(^\w+\.$)¦(^\w+$)`|`$2.txt`| Appends ".txt" extension to existing file name only if it does not have an extension |
170
+
|`(^\w+\.$)\|(^\w+$)`|`$2.txt`| Appends ".txt" extension to existing file name only if it does not have an extension |
171
171
|`(\d\d)-(\d\d)-(\d\d\d\d)` or `(\d{2})-(\d{2})-(\d{4})`|`$3-$2-$1`| Move numbers in the filename: "29-03-2020" becomes "2020-03-29" |
172
172
|`^(.{n})(.*)` or `(.*)(.{n})$`|`$1foo$2`| Insert "foo" _n_ characters from the beginning or the end, respectively |
173
173
|`^.{n}` or `.{n}$`| nothing | Trim _n_ characters from the beginning or the end, respectively |
@@ -180,23 +180,23 @@ There are great examples/cheatsheets available online to help you:
Filters can be used in PowerRename to narrow the results of the rename. Use the _Preview_ window to check expected results. Click the column headers to switch between filters.
186
186
187
187
-**Original**, the first column in the _Preview_ window switches between:
188
-
- Checked: The file is selected to be renamed.
189
-
- Unchecked: The file is not selected to be renamed (even though it fits the value entered in the search criteria).
188
+
- Checked: The file is selected to be renamed
189
+
- Unchecked: The file is not selected to be renamed (even though it fits the value entered in the search criteria)
190
190
191
-
-**Renamed**, the second column in the _Preview_ window can be toggled.
191
+
-**Renamed**, the second column in the _Preview_ window can be toggled:
192
192
- The default preview will show all selected files, with only files matching the _Search for_ criteria displaying the updated rename value.
193
193
- Selecting the _Renamed_ header will toggle the preview to only display files that will be renamed. Other selected files from your original selection will not be visible.
0 commit comments