Vadkan Jozsef wrote: > The filename, that i want to rename: > > ---vol.-01-disk-cantatas-bwv-3; > > commands, that doesn't work: > > $ rename 's/^---//g' * > Unknown option: -vol.-01-disk-cantatas-bwv-3; > Usage: rename [-v] [-n] [-f] perlexpr [filenames]
Use: rename 's/^---//g' -- * The -- is commonly used to let programs know that whatever follows should not be interpreted as an option (which is necessary because your file name begins with --) - Chris Burkhardt -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

