PhotoCopy
kopiert Bilddateien (jpg, jpeg, heic, mov, avi, mp4). Üblicherweise handelt es sich um Dateien, die auf einer Speicherkarte abgelegt sind und die auf die Festplatte kopiert werden sollen.
PhotoCopy läuft in der Kommandozeile unter Windows.
Zum einem normalen Kopierbefehl wie xcopy
unterscheidet sich PhotoCopy
wie folgt:
- Die Quelldateien werden im Quellverzeichnis und dessen Unterverzeichnissen gesucht (rekursiv).
- Die Zieldateien werden im Zielverzeichnis und dort im Unterverzeichnis
yyyy_MM_dd
abgelegt.yyyy_MM_dd
entspricht dem Erstelldatum der (Bild)datei, das aus den EXIF-Daten gelesen wird. Wenn EXIF-Informationen fehlen, wird das Erstelldatum der Datei verwendet.- Das Schema
yyyy_MM_dd
lässt sich mit der Kommandozeilenoption-p <pattern>
ändern. - Mit der Kommandozeilenoption
-e
suchtPhotoCopy
nach einem bestehenden Zielverzeichnis, das mit dem Patternyyyy_MM_dd
(oder Pattern gemäss-p
) startet. Wenn ein solches vorhanden ist, dient es als effektives Zielverzeichnis, z. B.D:\Data\Photos\2022_05_02_Arosa
.
- Das Schema
- Kopiert werden nur Quelldateien, die noch nicht als verarbeitet markiert sind. Standardmässig gilt eine Datei als markiert (d. h. verarbeitet), wenn sie in einer Dateiliste enthalten ist. Mit der Kommandozeilenoption
-a
kann dazu auch das Archiv-Flag verwendet werden. In diesem Fall wird nach dem Kopieren auf der Quelldatei das Archiv-Flag gesetzt. - Falls man das Quellverzeichnis weglässt, sucht
PhotoCopy
nach dem passenden Verzeichnis. Das ist das Verzeichnis\DCIM
im Stammverzeichnis eines Wechseldatenträgers.PhotoCopy
verwendet dazu den ersten Wechseldatenträger, der ein solches Verzeichnis enthält.
Beispiele
PhotoCopy F:\DCIM D:\Data\Photos
- Kopiert alle Dateien in
F:\DCIM
und in den Unterverzeichnissen nachD:\Data\Photos\2022_05_02
,2022_05_03
etc. entsprechend dem Erstelldatum der (Bild)datei.
PhotoCopy D:\Data\Photos
- Sucht nach dem ersten Verzeichnis
DCIM
im Stammverzeichnis eines Wechseldatenträgers (D: bis z:) und kopiert dieses nachD:\Data\Photos\...
.
PhotoCopy D:\Data\Photos -p yyyy-MM-dd -o -e
- Normalerweise werden bestehende Bilder im Zielverzeichnis nicht überschrieben. Mit der Kommandozeilenoption
-o
lässt sich das ändern. - Ausserdem werden Bilddateien in Zielverzeichnisse wie
D:\Data\Photos\2022_05_02
kopiert. Mit der Kommandozeilenoption-e
suchtPhotoCopy
nach einem bestehenden Zielverzeichnis, das mit dem Patternyyyy_MM_dd
(oder Pattern gemäss-p
) startet. Wenn ein solches vorhanden ist, dient es als effektives Zielverzeichnis, z. B.D:\Data\Photos\2022_05_02_Arosa
.
PhotoCopy D:\Data\Photos -p yyyy-MM-dd
- Zielverzeichnisse erhalten einen Namen wie
D:\Data\Photos\2022_05_02
. Die Kommandozeilenoption-p
ändert dieses Schema. Beispielsweise führt-p yyyy-MM-dd
zu einem Namen wieD:\Data\Photos\2022-05-02
.
PhotoCopy mdev:\Internal Storage\DCIM D:\Data\Photos
-
Kopiert die Daten vom per USB angeschlossenen Media Device (über das Media Transport Protocol). Das kann ein Mobiltelefon, eine Digitalkamera o. ä. sein. Das Media Device lässt sich noch besser über seinen Namen oder seine Seriennummer spezifizieren:
-
PhotoCopy mdev:Apple iPhone\Internal Storage\DCIM D:\Data\Photos
-
PhotoCopy mdev:FAMYC0Q73C2D\Internal Storage\DCIM D:\Data\Photos
-
Photocopy -sources
- Zeigt eine Liste der vorhandenen Laufwerke (SD cards, Mobiltelefone, Digitalkameras), die Bilddateien enthalten. Bilddateien erwartet
PhotoCopy
im VerzeichnisDCIM
oder in einem seiner Unterverzeichnisse.
Optionen und Hilfe
C:\>PhotoCopy -help
Copies Photos from a source to a target directory. The source directory usually resides on a memory chip (SD card,
CF card etc.) filled by a digital camera. Does not touch the files in the source directory, except with the option
-a where the archive flag is set.
Usage: PhotoCopy <source directory> <target directory> <options>
-h -help
-sim: (sim)ulates copying files. Does not touch any file.
-c: opens the (c)onfiguration directory
-st: shows the (st)atus of the files to be copied (source/target directory, file list name, number of
files). Does not touch any file.
-sources: shows the source drives that contain images. Does not touch any file.
-al: (a)dd file (l)ist. Add an empty file list if it does not yet exist and then copy all files as usual.
Without this option a warning is shown if the file list is missing so that files are not copied
unintentionally.
-i: (i)nitialize. Fill the file list of already copied files with all files to be copied but do not copy
any file. This option should be used to mark the current files in source directory as already
processed and to copy only files that are added in the future.
-ied: (i)nitialize (e)xisting (d)irectories. Fill the file list of already copied files with all files to
be copied but only for directories, where the target directory already exists. Does not copy any
file. This option can be combined with -p. It may be used before copying files to a target, that
already contains some of the directories from another Data source.
-p <date pattern>: sets the date (p)attern
-o: (o)verwrite existing files
-d: open last used target (d)irectory after copying files
-e: use (e)xisting target directories. If a target directory exists whose name starts with the required
date pattern, it is used as target directory.
-archive: copy files only where the archive flag is not set and set the archive flag afterwards. This is the
alternative to the file list usually used to store which files have already been copied in the past.
Examples:
PhotoCopy F:\DCIM D:\Data\Photos
- Copies all files of F:\DCIM and its subdirectories to D:\Data\Photos\2022_05_02, 2022_05_03 etc. according to
the creation date of the file (EXIF information if available)
PhotoCopy mdev:\Internal Storage\DCIM D:\Data\Photos
- Copies all files of mdev:\DCIM and its subdirectories to D:\Data\Photos\2022_05_02, 2022_05_03 etc. according to
the creation date of the file (EXIF information if available). mdev: accesses the media device by means of the
media transfer protocol (MTP).
PhotoCopy mdev:Apple iPhone\Internal Storage\DCIM D:\Data\Photos
- Copies all files of mdev:\DCIM and its subdirectories to D:\Data\Photos\2022_05_02, 2022_05_03 etc. according to
the creation date of the file (EXIF information if available). mdev:<media device name>\<path>
PhotoCopy mdev:FAMYC0Q73C2D\Internal Storage\DCIM D:\Data\Photos
- Copies all files of mdev:\DCIM and its subdirectories to D:\Data\Photos\2022_05_02, 2022_05_03 etc. according to
the creation date of the file (EXIF information if available). mdev:<media device serial no>\<path>
PhotoCopy D:\Data\Photos
- Searches for the first removable drive (D: - Z:) containing a top-level directory called DCIM and copies it to
D:\Data\Photos\...
PhotoCopy D:\Data\Photos -o -e
-o: (o)verwrite images. Usually already existing images in the target directory are not overwritten.
-e: adapt the target directory to already (e)xisting target directories like D:\Data\Photos\2022_05_02_Arosa.
Usually images are copied to target directories like D:\Data\Photos\2022_05_02.
PhotoCopy D:\Data\Photos -p yyyy-MM-dd
-p: change target directory pattern, e.g. to D:\Data\Photos\2022-05-02.
Usually targets directories get a name like D:\Data\Photos\2022_05_02.
PhotoCopy D:\Data\Photos -p yyyy\\MM-dd
- With -p you may define patterns that contain more than one subdirectories, e.g. D:\Data\Photos\2022\05-02.
Hilfe zu den Optionen erhält man, wenn man PhotoCopy ohne weitere Parameter aufruft.
Downloads
- PhotoCopy (v1.0.0)