/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh # # rinomina i file di una cartella # for I in `ls *.wmv|tr " " "_"` do mv "$(echo $I|tr "_" " ")" "$(echo $(basename $I .wmv) | tr "_" " ").asf" done