Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
workflow:image_type [2018/02/18 21:52] – [PROCESSING] Júne Park | workflow:image_type [2018/02/18 21:54] – [PROCESSING] Júne Park | ||
---|---|---|---|
Line 18: | Line 18: | ||
* Command-line convert utility: [[https:// | * Command-line convert utility: [[https:// | ||
- | * Rename files randomly: [[ | + | * Rename files randomly |
<code bash> | <code bash> | ||
Line 35: | Line 35: | ||
The regex (.{10}).*(\.jpg) consists: | The regex (.{10}).*(\.jpg) consists: | ||
- | .{10} - any 10 characters, in a group (…), followed by .* - any number of any characters followed by \.jpg$ | + | < |
+ | .{10} - any 10 characters, in a group (…), followed by .* - any number of any characters followed by \.jpg$ | ||
+ | the extension at the end ($) of the filename, in the second group. The replacement $1$2 is just the first group followed by the second. | ||
+ | </ | ||
---- | ---- |