9/3/2023 0 Comments Bash rename multiple files![]() ![]() Other equivalent ways of doing the same (each line is equivalent), so you can choose your favorite way of doing it. Using the previous filter thanks to -filter, it finds a mapping from fghfilea to jklfilea and then applies it on all filtered files. Then using the filter, the mv command is a semi-automatic move which becomes automatic with the modifier -auto. If filter had the option -auto or was invoked alone after this command, it would create a folder ok and a folder notok and push files respectively to them. It first computes a filter based on examples, where the input is the file names and the output (ok and notok, arbitrary strings). Using StringSolver tools (windows & Linux bash) which process by examples: filter fghfilea ok fghreport ok notfghfile notok mv -all -filter fghfilea jklfilea
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |