Para verificar si un archivo existe y no está vacío, ¿qué test usarías en un script de shell?
-x
-f
-s
-e