← Back to team overview

sslug-teknik team mailing list archive

Re: Hvor blev min fil af? -Hjæææælp!

 

Fri, 16 Jul 2004 11:17:18 +0200, Anders Bo Rasmussen <fuzz01@xxxxxxxxxxxxx> skrev:

On Thu, 15 Jul 2004 23:54:53 +0200 Michael Schmidt wrote:

Hej NG
Prøvede af omdøbe nogle CD-images som følger:

[zmit@a31p input]$ ls -1
Ferie-film.SVCD-VideoCD.CD1.bin*
Ferie-film.SVCD-VideoCD.CD1.cue*
Ferie-film.SVCD-VideoCD.CD2.bin*
Ferie-film.SVCD-VideoCD.CD2.cue*
[zmit@a31p input]$ rename *.bin *.iso *.bin

hvilket expander til:
rename Ferie-film.SVCD-VideoCD.CD1.bin Ferie-film.SVCD-VideoCD.CD2.bin Ferie-film.SVCD-VideoCD.CD1.bin Ferie-film.SVCD-VideoCD.CD2.bin

dvs. Strengen Ferie-film.SVCD-VideoCD.CD1.bin bliver til
Ferie-film.SVCD-VideoCD.CD2.bin i Ferie-film.SVCD-VideoCD.CD1.bin og
Ferie-film.SVCD-VideoCD.CD2.bin

dvs. det er det samme som at skrive:

mv Ferie-film.SVCD-VideoCD.CD1.bin Ferie-film.SVCD-VideoCD.CD2.bin
mv Ferie-film.SVCD-VideoCD.CD2.bin Ferie-film.SVCD-VideoCD.CD2.bin

Damn! :(

[zmit@a31p input]$ ls -1
Ferie-film.SVCD-VideoCD.CD1.cue*
Ferie-film.SVCD-VideoCD.CD2.bin*
Ferie-film.SVCD-VideoCD.CD2.cue*
[zmit@a31p input]$

Hvor blev Ferie-film.SVCD-VideoCD.CD1.bin* af?

Den hedder nu Ferie-film.SVCD-VideoCD.CD2.bin

-og hvad gjorde jeg galt?

Det du ville var nok:

rename .bin .iso *.bin

Jep! -men så blev jeg da det klogere :)


--
Med venlig hilsen
/Zmit/
RLU # 314205


References