setref 107 B

12345678
  1. #!/bin/bash
  2. for i in res.*; do
  3. refname=`echo $i | sed 's/^res/ref/'`
  4. echo $refname
  5. mv $i $refname
  6. done