Hi
ich möchte mit dem Befehl, convert, ein Verzeichnis mit Jpeg-Dateien verändern. Aber nur die größe, daß funktioniert auch.
convert -size 64x64+256 "*.JPG" /home/datei.jpg
Leider hängt "convert" immer hinter _datei.jpg_ ein Zahl an (datei.jpg.0). Gibt es eine Möglichkeit die Zahl vorne anzuheften oder andersweitig alle Dateien auf einmal umzubenennen?
schau mal unter man convert nach man convert --snip--snip-snip--- Single images are written with the filename you specify. However, multi-part images (e.g. a multi-page Postscript document with +adjoin specified) are written with the filename followed by a period (.) and the scene number. You can change this behavior by embedding a printf format specification in the file name. For example, image%02d.miff converts files image00.miff, image01.miff, etc. The % character is always interpreted in output filenames. To get a % character in the filename, use %% --snip--snip--snip--
Mit "mv" bekomme ich das nicht hin, wenn dann mustt du mmv verwenden
Bye Flo