Stages Of Germination Of A Seedling
Choose from several versions of Java on Ubuntu
I found myself in the situation or in a directory I had 350 files of the style that I had dtmgrid122413_1m.asc.gz renames MNT_1224-13_1m.asc.gz pipe through sed and c is possible in a single command: for i in dtm * do (mv $ i `echo $ i stores it in the variable i. Then for each file found it will do a mv to rename the old file name found in $ i to something that happens to be the result of the expression:
`echo $ i Regular saying that we want to replace:
dtmgrid \\ ([1-9] \\ {4 \\} \\)
by: MNT_ \\ 1 -
meaning that dtmgrid will be replaced by another without MNT_ and that the contents of the chain is in parentheses \\ (and \\) will be arriving in the final string used as it is thanks to \\ 1 and we want to follow it with a - before letting displayed the rest of the chain in the state
regarding content ente bracket and well [1-9] indicates that one seeks any number between 1 and 9 and \\ {4 \\} means we want to take into account exactly 4 digits. -
0 comments:
Post a Comment