R


Bash file attribute operators


Überprüft, ob es Datei gibt


Basiswissen


Beispiel: if [ -a test ]; then cat test; fi
Falls es die Datei test gibt, zeige ihren Inhalt an.

Alle Operatoren:

File is newer than file 2
Das Datum der Änderung zählt.

File 1 is older than file 2
Das Datum der Änderung zählt.