Hola. El Miércoles, 24 de Enero de 2007 20:35, Juan Carlos Bravo Celis escribió:
hola amigos, tengo un archivo tar de 70 GB, y dentro del mismo hay una carpeta con miles de archivos dentro, lo que me gustaria saber es como puedo hacer para extraer uno solo de todos estos archivos, sin tener que descomprimir todo, pues no me queda mucho espacio en disco.
hay alguna forma de hacerlo,
en konqueror info:/tar dice lo siguiente: *************************************************************************** to extract specific archive members, give their exact member names as arguments, as printed by `--list' (`-t'). If you had mistakenly deleted one of the files you had placed in the archive `collection.tar' earlier (say, `blues'), you can extract it from the archive without changing the archive's structure. It will be identical to the original file `blues' that you deleted. . First, make sure you are in the `practice' directory, and list the files in the directory. Now, delete the file, `blues', and list the files in the directory again. You can now extract the member `blues' from the archive file `collection.tar' like this: $ tar --extract --file=collection.tar blues If you list the files in the directory again, you will see that the file `blues' has been restored, with its original permissions, creation times, and owner. (These parameters will be identical to those which the file had when you originally placed it in the archive; any changes you may have made before deleting the file from the file system, however, will _not_ have been made to the archive member.) The archive file, `collection.tar', is the same as it was before you extracted `blues'. You can confirm this by running `tar' with `--list' (`-t'). *************************************************************************** Por tanto si el fichero a extraer se llama hola.txt y el tar es archivo.tar el comando seria tar --extract --file=archivo.tar hola.txt el nombre concreto del fichero para pasarle lo puedes consultar tal como dice con tar --list -- Un Saludo. Carlos Lorenzo Matés --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org