[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DD To a Smaller Partition



On Sun, 09 Jan 2011 14:21:22 -0500
Hal Vaughan <hal@halblog.com> wrote:

> I have a 10 GB partition that is nowhere near full, less than 5 GB of data on it (far less).  Unfortunately, the partition I'd like to copy it to is 5 GB.  I can do "rsync -av" but normally I'd use DD.  Is there a way to copy an image of just the files from one drive to another?  For example, an intelligent DD that won't copy unused sectors, or will create an archive of just the files?
> 
> 
> Thanks!
> 
> 
> 
> Hal
> 
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] ABF06B01-FE96-44DA-B00D-FB16EE6E8F86@halblog.com">http://lists.debian.org/[🔎] ABF06B01-FE96-44DA-B00D-FB16EE6E8F86@halblog.com
> 

Why is cp -r /mnt/asdf /mnt/jkl unacceptable?  When in doubt, use brute force.  As long as the partitions are both formatted and mountable, it should work (and be faster then finding a smart dd, learning how to use it, and running it :D).

-- 
rbmj


Reply to: