2013/2/4 Daniel Warhammar <[email protected]>:
> 'a' används bara vid skapandet av tar-filer och gör så att tar automatiskt 
> väljer komprimering utifrån vilken filändelse man valt.
> Enligt tar-manualen så skall 'tar xf' räcka för att packa upp:
>
> Reading compressed archive is even simpler: you don't need to specify any 
> additional options as GNU tar recognizes its format automatically. Thus, the 
> following commands will list and extract the archive created in previous 
> example:
>
> # List the compressed archive
> $ tar tf archive.tar.gz
> # Extract the compressed archive
> $ tar xf archive.tar.gz
>

Tackar den hade jag missat.

Dock så funkar det inte på alla versioner av tar.
Jag har en busybox version där man måste ange a för att läsa ett
komprimerat arkiv...

/Karl
-- 
"Karl Thorén" <[email protected]>
PGP-key: 836BD4C8

-- 
ubuntu-se mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-se

Till