Re: Copy big folder from a NTFS partition to an external HD



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.
.



Relevant Pages

  • RE: [SLE] RE: Ticket [20040519430002952] e100 module parameters
    ... I tried to format the root partition using ext3 but it said that there was ... time to submit a bug report yet but SuSE ...
    (SuSE)
  • Re: HD problems on HP Pavillion ze5602ea notebook
    ... I had only created a single 7 gig partition before, so the rest of the drive ... was RAW and unformatted (it wouldnt format from XP setup remember) So after ... Management I tried to format it, after half an hour it hadnt done anything ... > 30GB drives are not terribly expensive any more. ...
    (comp.sys.hp.hardware)
  • Re: Hard drive
    ... the current format is FAT32 and when i try to boot from the 80GB hard drive, formated as NTFS it comes up with: NOT FOUND ANY [Active Partition] in HDD. ... (Win2K ...
    (microsoft.public.win2000.file_system)
  • fedora: ext3 and 512Mb vs. 256Mb RAM
    ... I have instaled Fedora Core 1 with all partitions as ext3, ... Initially, I have 512MB RAM. ... Now I noticed that my root partition is no longer being mounted ...
    (comp.os.linux.setup)
  • Re: cannot format / install xp
    ... format partition C but then had the error - Invalid Partition, ... managed to format partition C, but cannot get any further, as even though it ... I purchased a new drive to format, install XP, recover the lost data on ... Try using the Manufacturer of the new Hard Drives own Installation Software. ...
    (microsoft.public.windowsxp.help_and_support)