I used sed -d to try first to delete " -rw-r--r-- " but I was discouraged soon, co's I couldn't find the way out of deleting also the "r" of the expressions " arch_amiel_038g_f016r.tif " and " arch_amiel_composition.jpg ".
If you have an easy solution to get what I wish (the 2 lines above) or some suggestion to go forward...
So, you mean that awk+print finds the way to get the records 5 and 9 of each line? so simple... I'll try this evening (no access to shell now) Thanks!!!! :)
My problem with sed was about formulating the regular expression. I made something like:
sed -d '\-rw-r-\-\r-\-$'
and it deleted also the 'r' in $9...
If you have any website suggestion to learn well how to formulate regular expressions, it would be very nice... but I am already very thankful!