to rename sdNyymmdd.fts to sdyymmdd-N.fts ls s[rd]???????.fts > rename vi rename s/s[rd].*/mv & &/ add serial number by hand csh rename