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 [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to