- A file should be copied from a source directory to a target directory.
- The system first checks whether a file with the same name already exists in the target directory.
- If it exists, the date of the last changes of the two files is compared. This information indicates which of the two files is the older one.
- The elder of the two files is renamed in the target directory.
- Eine Datei soll aus einem Quellverzeichnis in ein Zielverzeichnis kopiert werden.
- Es wird zunächst geprüft, ob im Zielverzeichnis bereits eine Datei mit dem selben Namen existiert.
- Wenn ja, so wird das Datum der letzten Änderungen der beiden Dateien verglichen.
- Daraus ergibt sich, welche der beiden Dateien die ältere ist. Die ältere der beiden Dateien wird im Zielort umbenannt.