Re: Copy big folder from a NTFS partition to an external HD
- From: The Natural Philosopher <a@xxx>
- Date: Tue, 14 Nov 2006 12:35:30 +0000
horacius.rex@xxxxxxxxx wrote:
How could I copy a whole directory and its subdirectories from the ntfs
partition to an, for example, ext3 (or another format) partition using
cp ?
cp -r
IIRC.
i.e. suppose you have one partition mounted as /home and the other as /newhome
cd /home
cp -r * /newhome
will do it.
If you want to duplicate things exactly (file creation times etc) , IIRC something like
tar c * | (cd /newhome; tar x)
does that..makes a tar archive and pipes it to a new shell which explodes it into a new space. Not sure of exact syntax. Others will doubtless correct.
Do all this as root, to avoid possible lack of write permissions.
.
- Follow-Ups:
- Re: Copy big folder from a NTFS partition to an external HD
- From: Anonymous
- Re: Copy big folder from a NTFS partition to an external HD
- References:
- Copy big folder from a NTFS partition to an external HD
- From: horacius . rex
- Re: Copy big folder from a NTFS partition to an external HD
- From: The Natural Philosopher
- Re: Copy big folder from a NTFS partition to an external HD
- From: horacius . rex
- Copy big folder from a NTFS partition to an external HD
- Prev by Date: Re: Questions from somebody who has never used Linux
- Next by Date: Re: anyone offer a router that will do NAT based on FQDN?
- Previous by thread: Re: Copy big folder from a NTFS partition to an external HD
- Next by thread: Re: Copy big folder from a NTFS partition to an external HD
- Index(es):
Relevant Pages
|