[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23702: Fwd: dd status=progress under Ubuntu 16.04
From: |
David Walker |
Subject: |
bug#23702: Fwd: dd status=progress under Ubuntu 16.04 |
Date: |
Sun, 5 Jun 2016 12:32:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Forgot to mention un my previos bug report - I am on coreutils
8.25-2ubuntu2
-------- Forwarded Message --------
Subject: dd status=progress under Ubuntu 16.04
Date: Sun, 5 Jun 2016 12:20:54 +0200
From: David Walker <address@hidden>
To: address@hidden
When piping into gzip, status=progress didn't work for me, shows
"unknown option"
/
//address@hidden:~$ ./copysda2.sh //
//U1604 Backup started @ 2016-06-05:12:05//
//Backup filename is
/media/Backups/david/SDA/sda2-2016-06-05:12:05-U1604.img.gz//
//[sudo] Passwort für david: //
//dd: nicht erkannter Operand »progress=status“/
/-----------------------------------------------------------------------------------------------------------------------------------------------------------------/
*#!/bin/sh
#PATH=/opt/someApp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bim
NOW=`date +%Y-%m-%d:%H:%M`
echo "U1604 Backup started @ $NOW"
BAKfilename="/media/Backups/david/SDA/sda2-$NOW-U1604.img.gz"
echo "Backup filename is $BAKfilename"
sudo dd if=/dev/sda2 conv=sync,noerror bs=64M status=progress | gzip
-c >$BAKfilename
FINISHED=`date +%Y-%m-%d:%H:%M`
echo "Finished @ $FINISHED"*
--
mit freundlichen Grüßen/Best Regards
David Walker
Jahnstr.64
D-82538 Geretsried
Tel. +49.(0)8171.2385010
Mob 0173/576 9584
Skype Glasairman
"Life is what happens when you are busy making other plans." John Lennon
--
mit freundlichen Grüßen/Best Regards
David Walker
Jahnstr.64
D-82538 Geretsried
Tel. +49.(0)8171.2385010
Mob 0173/576 9584
Skype Glasairman
"Life is what happens when you are busy making other plans." John Lennon