Results 1 to 3 of 3

Thread: "dd | 7z/gzip/bzip" and "7z/gzip/bzip | dd"

  1. #1
    Join Date
    Dec 2005
    Location
    Montreal, canada
    Beans
    376
    Distro
    Ubuntu 8.10 Intrepid Ibex

    "dd | 7z/gzip/bzip" and "7z/gzip/bzip | dd"

    In case you have not guessed it, I am looking at a one line command to do :

    1) DD or DCFLDD the whold drive into an ISO file
    2) compress that output ISO file


    Isn't there a way to do it all in one line like :
    dd if=xxxxx bs=999 | 7z .... drive.iso.7z

    and then to restore :

    7z ... drive.iso.7z | dd bs=999 of=/dev/sda

    In the example I use 7z because I like it. I would prefer using it over gzip, bzip, ...
    Desktop: I5-2500 on a Z77 MB, 16Gb memory, GTX-570
    Windows-7 (trying to add Ubuntu 12.04 LTS)

  2. #2
    Join Date
    Dec 2005
    Location
    Montreal, canada
    Beans
    376
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: "dd | 7z/gzip/bzip" and "7z/gzip/bzip | dd"

    Is my question too complicated or that no one knows how to do this ?
    Desktop: I5-2500 on a Z77 MB, 16Gb memory, GTX-570
    Windows-7 (trying to add Ubuntu 12.04 LTS)

  3. #3
    Join Date
    Jun 2009
    Location
    NY
    Beans
    570
    Distro
    Kubuntu Development Release

    Re: "dd | 7z/gzip/bzip" and "7z/gzip/bzip | dd"

    You should post this in the programming section thats where all the bash programmers are. I would love to help you but my bash skills are kind of rusty.



    - Red
    Everything in the future is a wave, everything in the past is a particle. -Lawrence Bragg

    Parabola: https://parabolagnulinux.org/
    Completely freed... Libre GNU/Linux !!!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •