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*

2
  • 1
    This question is not super clear. How do you expect to choose what to remove and where? I assume that mv "Apollo 18-1.mp4" "Apollo 18.mp4" is not what you are after. Commented Mar 27, 2017 at 13:57
  • Examples are okay, but you need to give exact rules like, because more than one rules could leed to your examples. For example: "If the filename has a dash and number right before the extension, remove dash and digits." Commented Mar 27, 2017 at 14:05