setref 107 B

1234567
  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