'rename' command
To rename multiple files:
I wanted to rename all files in a folder from *_vXXX.sh to *_vYYY.sh.
Thus I used
We can specify the number of wild characters in searching pattern by ? e. g. reaplce only a_vXXX.sh but not ab_vXXX.sh
I wanted to rename all files in a folder from *_vXXX.sh to *_vYYY.sh.
Thus I used
rename XXX YYY *_vXXX.sh
We can specify the number of wild characters in searching pattern by ? e. g. reaplce only a_vXXX.sh but not ab_vXXX.sh
rename XXX YYY ?_vXXX.sh
Comments
Post a Comment