|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#23699: closed (dd status=progress under Ubuntu 16.04) |
Date: | Mon, 06 Jun 2016 06:20:02 +0000 |
Your message dated Sun, 5 Jun 2016 23:19:33 -0700 with message-id <address@hidden> and subject line Re: bug#23699: dd status=progress under Ubuntu 16.04 has caused the debbugs.gnu.org bug report #23699, regarding dd status=progress under Ubuntu 16.04 to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 23699: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23699 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: dd status=progress under Ubuntu 16.04 Date: Sun, 5 Jun 2016 12:20:54 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
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
--- End Message ---
--- Begin Message ---Subject: Re: bug#23699: dd status=progress under Ubuntu 16.04 Date: Sun, 5 Jun 2016 23:19:33 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 David Walker wrote:I moved the "sudo" command to start the script outside to the command line instead of in the script itself and it worked as you suggestedThanks for checking, and I'm closing the bug report.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |