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*

10
  • ` Renaming: 0020_000834.png => 000834_0020.png Renaming: 0020_000835.png => 000835_0020.png Renaming: 0020_000836.png => 000836_0020.png Renaming: 00xx_000xxx_t.png => 000xxx_t_00xx.png Renaming: t_0000_000000.png => 0000_000000_t.png Renaming: t_0000_000001.png => 0000_000001_t.png Renaming: t_0000_000002.png => 0000_000002_t.png ` Commented Aug 1, 2018 at 14:16
  • so for the t files it worked, for the others not Commented Aug 1, 2018 at 14:16
  • oh yes it worked well when my assumptions would have been correct... it seems they were wrong. Is always just t_ the prefix ? Commented Aug 1, 2018 at 14:18
  • the folder contains files with t_ and files with not, so I need to perform this operation on only files with t_ ... I would say that I replace this for f in *.png; do with for f in t_*.png; do, right ? or what do you think ? Commented Aug 1, 2018 at 14:20
  • that would work, yes! Commented Aug 1, 2018 at 14:21