Return to Snippet

Revision: 1807
at November 10, 2006 00:01 by whitetiger


Updated Code
#!/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

Revision: 1806
at November 9, 2006 23:55 by whitetiger


Initial Code
#!/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

Initial URL

                                

Initial Description

                                

Initial Title
Bash - rinomina.sh

Initial Tags
Bash, unix, linux, files, perl

Initial Language
Bash