The problem is not the syntax of rename but the name of the files beginning with '-'. So try something like $ rename 's/^---//g' ./* where the shell expands the filenames to "./---vol1 ./---vol2 ...". Then the rename command doesn't interpret the filenames as switches. -- Regards, Jörg-Volker.