Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Batch] Dir - nur Dateien auswählen die noch nicht in anderem Verzeichniss sind

Empfohlene Antworten

Veröffentlicht

Hi,

ich hab folgendes Problem

ich will mir von sehr vielen Bildern die Größe ändern lassen..

das hab ich mit dem Programm ImageMagick gemacht

das Programm hat ein Tool dabei mit dem Ich einzelne Bilder convertieren kann.

ich hab das so angestellt:

FOR /F %%I IN ('DIR \PNG_FullSize\Pictures\*.png /b') DO (\ConversionTools\convert.exe \PNG_FullSize\Pictures\%%I -resize 500x500 -auto-orient \PNG_Sized\Pictures\%%I)

funktioniert so auch :) nur dauert das immer sehr lange bei 5.000 Dateien :D

wie kann ich veranlassen dass er er in dem "DIR" --> ('DIR \PNG_FullSize\Pictures\*.png /b') nur die Dateien findet die Nicht auch schon in \PNG_FullSize\Pictures\ sind?

Danke schonmal

Murphy

Entweder prüfen, ob das Verhalten von convert.exe bei schon existierender Ausgabedatei zu ändern ist oder in der FOR-Schleife eine IF EXIST-Abfrage mit passendem Skip einbauen.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.