Sponsored Content
Top Forums UNIX for Advanced & Expert Users tar and gzip extraction issues Post 302544351 by athos on Wednesday 3rd of August 2011 01:43:23 PM
Old 08-03-2011
Unfortunately, I don't get to determine the format. It's not a compressed tarball I made. It is ready-made and I have to make lemonade with it. Otherwise, I'd probably set something else up if it were up to me.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Combine tar and gzip together?

Hello I just wandering, instead to doing "tar cvf foo.tar * " and then gzip foo.tar , can't it be combined to one command ? (1 Reply)
Discussion started by: umen
1 Replies

2. UNIX for Dummies Questions & Answers

can i tar and gzip in one liner ?

hello can i combine this 2 commands in one liner command? (1 Reply)
Discussion started by: umen
1 Replies

3. Shell Programming and Scripting

Help with tar extraction!

I have this tar file which has files of (.ksh, .ini &.sql) and their hard and soft links. Later when the original files and their directories are deleted (or rather lost as in a system crash), I have this tar file as the only source to restore all of them. In such a case when I do, tar... (4 Replies)
Discussion started by: manthasirisha
4 Replies

4. UNIX for Dummies Questions & Answers

TAR and GZIP help

Hi, There are 700 .pdf files in a certain directory on the server and I need to TAR them first and then compress them using GZIP to free up the space. The combined size of the .pdf files is 3gb. However, there is only 1gb of free space on the server. So as you can see when I try to TAR these... (3 Replies)
Discussion started by: VandeMatram
3 Replies

5. UNIX for Advanced & Expert Users

tar/gzip/gz...which one to use?

P0251WLADC.svm_wl1 > /svm_wl1/billing/data/server/archive/ALLEVT $ du -k FEB2006 22050224 FEB2006 As you can see,i have a folder called "FEB2006" which is around 22 GB. i guess zip or compress wont work...( i don know how do we compress a folder) i wished to use ""tar" ( i suppose... (5 Replies)
Discussion started by: abhijeetkul
5 Replies

6. UNIX for Dummies Questions & Answers

tar and gzip

Hi, I would like to have a combined gzip and tar that will compress and create multiple output tar.gz files. I want to have multiple files output because i cannot create an archive because there is no more space on my harddisk. I cannot transfer it locally because of slow connection. I want to... (3 Replies)
Discussion started by: tungaw2004
3 Replies

7. Shell Programming and Scripting

tar + gzip + split together

Hi All I need guidance on this requirement . We have a directory structure which has data of approx 100 GB We need to tar the structure then zip it and create different files of not more than 10 GB A separate tar file then a .gz should not be created , on the fly a script is needed... (7 Replies)
Discussion started by: aamir1234
7 Replies

8. Shell Programming and Scripting

tar and gzip problem

Hi Guys, I have a few files. i want to tar these files and zip it using gzip it. -rw-r----- 1 magesh magesh 12940369 Jul 27 09:26 dcx_imds_c.asc -rw-r----- 1 magesh magesh 1221391 Jul 27 09:27 dcx_imds_h.asc -rw-r----- 1 magesh magesh 1105673 Jul 27 09:27... (6 Replies)
Discussion started by: mac4rfree
6 Replies

9. Shell Programming and Scripting

tar and gzip files

Hi Guys, I am using RHEL5 and Solaris 9 & 10. I want to tar and gzip my files then remove them after a successful tar command... Lets say I have files with extension .arc then I want to tar and gzip these files. After successful tar command I want to remove all these files (i.e .arc). ... (3 Replies)
Discussion started by: Phuti
3 Replies

10. Shell Programming and Scripting

Facing issues with tar and gzip !

Hi, I am trying to :- (1.) Tar the file and then (2.) Gzip it ! Tar command :- tar -cvf BLUESTAR_Archive.log_$(date +%y_%m_%d_%H_%M).tar /app/local/XXX/XXX/XXX/logs Gzip command :- Gzip /app/local/XXX/XXX/XXX/logs/BLUESTAR_Archive.log_$(date +%y_%m_%d_%H_%M).tar ... (9 Replies)
Discussion started by: acidburn_007
9 Replies
SBUILD-CREATECHROOT(8)						   Debian sbuild					    SBUILD-CREATECHROOT(8)

NAME
sbuild-createchroot - create sbuild chroot SYNOPSIS
sbuild-createchroot [-h|--help | -V|--version] [--verbose] [--arch=arch] [--foreign] [--resolve-deps | --no-resolve-deps] [--keep-deboot- strap-dir] [--include=package1[,package2,[packagen]]] [--exclude=package1[,package2,[packagen]]] [--components=component1[,component2,[com- ponentn]]] [--keyring=keyring-file] [--setup-only] [--make-sbuild-tarball=file] [--keep-sbuild-chroot-dir] SUITE TARGET-DIRECTORY DEBIAN- MIRROR-URI [SCRIPT] buildd-create-chroot USER SUITE TARGET-DIRECTORY DEBIAN-MIRROR-URI DESCRIPTION
sbuild-createchroot runs debootstrap(1) to create a chroot suitable for building packages with sbuild. Note that while debootstrap may be used directly, sbuild-createchroot performs additional setup tasks such as adding additional packages and configuring various files in the chroot. Invoking sbuild-createchroot is functionally equivalent to running debootstrap --variant=buildd --include=fakeroot,build-essen- tial, then editing /etc/apt/sources.list and /etc/hosts by hand. The newly-created chroot is set up to work with schroot(1) by creating a chroot definition file under /etc/schroot/chroot.d. This should be edited to finish the chroot configuration after sbuild-createchroot has completed. buildd-create-chroot, like sbuild-createchroot, runs debootstrap(1) to create a chroot for package building. However, this creates a chroot specifically for buildd(1) with an additional mandatory option to specify a user who will be granted sudo access inside the chroot. This script mainly differs in its additional customisation of /etc/apt/sources.list to use incoming.debian.org and security-mas- ter.debian.org. It also removes some packages from the newly-created chroot. Unless you are setting up an official Debian build daemon, sbuild-createchroot should be used instead. The extra functionality will be merged into sbuild-createchroot in the future. OPTIONS
Actions -h, --help Display this manual. -V, --version Print version information. General options -v, --verbose Print all messages. Debootstrap options Note that debootstrap(1) is the canonical reference for the meaning of the options; they are passed directly to debootstrap. --arch=arch Set the target architecture. This may be used if dpkg is not already installed. See also --foreign, below. --foreign Only perform the initial unpack phase of bootstrapping. This is required if the target and host architectures do not match. Note that debootstrap requires running by hand to complete installation; run the debootstrap /debootstrap/debootstrap installed in TAR- GET-DIRECTORY to complete the installation. --resolve-deps Automatically resolve missing dependencies. This is the default. --no-resolve-deps Do not automatically resolve missing dependencies. --keep-debootstrap-dir Don't delete the /debootstrap directory in TARGET-DIRECTORY after completing the installation. --include=package1[,package2,[packagen]] Comma separated list of packages which will be added to the list of packages to download and extract. --exclude=package1[,package2,[packagen]] Comma separated list of packages which will be removed from the list of packages to download and extract. Note that this can remove essential packages, so use with extreme care. --components=component1[,component2,[componentn]] Comma separated list of archive components to use (e.g. 'main', 'contrib', 'non-free'). Defaults to 'main'. --keyring=keyring-file Download signatures for retrieved Release files and check them against keyring-file. By default /etc/apt/trusted.gpg is used. Set to an empty string to disable signature checking. SUITE The distribution to bootstrap (e.g. 'sarge', 'etch', 'lenny', 'sid'). A complete list may be found in /usr/share/deboot- strap/scripts. TARGET-DIRECTORY The directory to create the chroot in. The directory will be created if it does not already exist. DEBIAN-MIRROR-URI An http://, file:///, or ssh:/// URI pointing to a suitable archive mirror. SCRIPT debootstrap script to run. Not typically required. sbuild-createchroot behaviour --setup-only Don't run debootstrap. Only perform the setup tasks on an already existing chroot. This is useful for converting an existing chroot for use with sbuild which has already been created using a tool such as debootstrap. --make-sbuild-tarball=file Create a bootstrapped file type chroot ready for use with sbuild and save it as file. The compression format used for the tarball is dependent on the file extension used in file. See the TARBALL FILE section for more details. --keep-sbuild-chroot-dir Don't delete the directory used for creating a file type chroot. This option does nothing if not creating a file type chroot. TARBALL FILE
When creating an sbuild tarball file, the compression format used to generate the tarball depends on the entension used in file. Here is a listing of the extensions that will be detected and what format the tarball will be generated as. *.tar Generates an uncompressed tarball. *.tar.gz|*.tgz Generates a compressed tarball using gzip. *.tar.bz2|*.tbz Generates a compressed tarball using bzip2. *.tar.lz|*.tlz Generates a compressed tarball using lzip. *.tar.xz|*.txz Generates a compressed tarball using xz. If no extension is specified, sbuild-createchroot will rename file to file.tar.gz and generate file.tar.gz as a compressed tarball using gzip. EXAMPLES
To create a plain type sid (unstable) chroot in /srv/chroot/unstable using the ftp.uk.debian.org Debian mirror: % sudo sbuild-createchroot sid /srv/chroot/unstable http://ftp.uk.debian.org/debian_| To create a bootstrapped file type sid (unstable) chroot ready for use with sbuild and saved in /var/cache/sbuild/sbuild.tar.gz using the ftp.uk.debian.org Debian mirror and using a temporary directory as the target: % sudo sbuild-createchroot --make-sbuild-tarball=/var/cache/sbuild/sbuild.tar.gz sid `mktemp -d` http://ftp.uk.debian.org/debian_| HISTORY
sbuild-createchroot was previously known as buildd.chroot. buildd.chroot performed exactly the same tasks, but additionally created a num- ber of directories in the chroot for use by sbuild. This is now done by schroot(1). AUTHORS
Roger Leigh. Francesco P. Lovergine. Andres Mejia. COPYRIGHT
Copyright (C) 2004 Francesco P. Lovergine <frankie@debian.org>. Copyright (C) 2007-2008 Roger Leigh <rleigh@debian.org>. Copyright (C) 2010 Andres Mejia <mcitadel@gmail.com>. SEE ALSO
debootstrap(8), schroot(1), sbuild(1), sbuild-setup(7). Version 0.63.2 18 Aug 2012 SBUILD-CREATECHROOT(8)
All times are GMT -4. The time now is 03:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy