Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • bash: s/\.[0-9]\+\.jpg/.####.jpg/g: No such file or directory Commented May 28, 2019 at 14:03
  • It's important to quote the s/.../.../g part with single quotes ('), or else bash will try to expand the [0-9] part (and fail). Commented May 28, 2019 at 14:23
  • I just copy pasted your snippet. Commented May 28, 2019 at 16:06
  • @SantoshKumar I accidentally chopped the word sed out while editing. Could you try again? Commented May 28, 2019 at 16:13