SimpleBlog

Gettin' it simple.

Flower

Linux – mehrere Dateien auf einmal umbennen

Wer mehr als nur eine Datei auf einmal umbennen möchte, kann dies mit der Konsole sehr komfortabel erledigen (ich wollte aus Datei.rar.htm eine Datei.rar machen):

Befehl:
$ cd Pfad zu den Dateien
$ rename ‘s/\.htm$ //’ *.htm

Konsole rename ‘s/\.das was ersetzt wird/was statt dessen dort stehen soll/’ *.welche Dateiendungen die gewünschten Dateien haben.

    Verfassen Sie einen Kommentar

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word