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.

4
  • Without the dot *pdf would mv files like dwe_ythn157843pdf, or there's some reason you use it that way? Commented Nov 3, 2021 at 16:27
  • @schrodigerscatcuriosity just habit. Extensions aren't really a thing in the *nix world, with very few exceptions, and *pdf would match both foo.pdf and foopdf, so it will work fine for the OP. Commented Nov 3, 2021 at 16:54
  • Thank you! The second version (without the rename) worked perfectly. Commented Nov 5, 2021 at 12:56
  • You're welcome, @hosta. If one of the answers here solved your issue, please take a moment and accept it by clicking on the checkmark on the left. That is the best way to express your thanks on the Stack Exchange sites. Commented Nov 5, 2021 at 13:17