Estoy modificando unos backups existentes que tiraban de tar a ficheros que van creciendo; según el manual y la opción que -creo- debería usar es "ignore-failed-read"; pero no consigo que el return code sea 0.

Seguro que alguno me puede llamar inútil y decirme la opción correcta, ¿os animáis?

GNU tar 1.23

$ yes > hola &
[1] 10449
$ tar czf - hola 1>out.tgz ; echo $? ; rm out.tgz
tar: hola: file changed as we read it
1
$ tar czf - hola --ignore-failed-read 1>out.tgz ; echo $? ; rm out.tgz
tar: hola: file changed as we read it
1
$ tar czf out.tgz hola --ignore-failed-read ; echo $? ; rm out.tgz
tar: hola: file changed as we read it
1


--
_______________________________________________
Comandob mailing list
Comandob@badopi.org
http://lists.badopi.org/listinfo/comandob

Responder a