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. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hlpb22$ki...@ger.gmane.org