Dec 19, 2014

Mass 'rename' with Linux

Tình huống: Đổi tên, theo pattern nào đó, với nhiều file đồng thời.

Lệnh:

​rename 's/Screenshot from/Practical Advice for Agile Planning and Collaboration/' *.png

rename -n will just display the result after renaming, not actual rename the files.