I have 20 files like: Files have a similar format in their names. They begin with 01, and they have 01*AAA*.sh format. I wish to copy and rename files in the same directory, changing the number 01 to 02, 03, 04, and 05: I wish to copy 20 of 01*.sh files to 02*.sh, 03*.sh, and 04*.sh. This will make the
Tag: batch-processing
Grep for String and open at the corresponding line
I’m having several occurrences of a specific string over several files in several lines obtained with grep. I’d like to open these files sequencially on the corresponding lines. I tried to do it with vim, but so far no success when it comes to open the line. Mustn’t be vim or grep, but I’d assume there must be some kind