Re: Is it possible to dd from a position in a file to the end?
From:
Alain D D Williams
Subject:
Re: Is it possible to dd from a position in a file to the end?
Date:
Tue, 19 Feb 2019 19:51:00 +0000
User-agent:
Mutt/1.5.20 (2009-12-10)
On Tue, Feb 19, 2019 at 01:46:32PM -0600, Peng Yu wrote:
> Hi, I don't see a way to specify "END" in dd. I don't want to count
> the length a file in another command. Is there a way to let dd dump
> from a given location to the end? Thanks.
Use skip to position to where you want to start copying from, then don't specify
a count and dd will copy the rest of the file.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 https://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
https://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>