![]() In your specific case you can use the following bash command ( bash is the default shell on macOS): for f in *.png do echo mv "$f" "$" is an application of bash parameter expansion: the (first) substring matching pattern _*_ is replaced with literal _, effectively cutting the middle token from the name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |