Rename a lot of files in subdirectories with multiple file extenisons -


so have big folder full of more folders hold files have regular extension, ,v after (like .xml,v)

is there quick way/program make go through of folders , when finds ,v it'll remove ,v it?

thanks

edit: running windows 7 (64-bit). please remember idiot :p

use find list files ending ,v. pipe output shell loop renames files.

${f%%,v} matches file name without ,v suffix.

find . -name \*,v | while read f; mv $f ${f%%,v} ;done 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -