Results 1 to 5 of 5

Thread: copying a large file

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    3

    copying a large file

    Hi,
    I’m trying to rescue a couple of files from my dead (windows) PC using knoppix.
    I’ve run into a problem trying to copy one file (huge ~ 23 Gb ) to my USB HDD (FAT;
    2 partitions each~ 30Gb) – the “cp” has copied only 2 Gb of the target file; then I got error message “file limit has exceeded”;
    but the “ulimit –f “ returns “unlimited”
    Any ideas?
    Thanks!
    igor_m

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    I guess your source file is on NTFS, but the target fat FS has a file size limit of 2Gb. See here.

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    3

    thanks

    yes, you are right
    Thnx!
    igor_m

  4. #4
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    If you just want to keep the file temporarily on the USB drive you can split it
    into smaller pieces, like this:
    cd /the/usb/drive
    split -b 1024m /full/path/to/huge_file

    That should give you 24 (or 23) files called xaa xab xac xad...
    Each of them 1G in size

    To put them back on another drive you'd just do this:

    cd /the/usb/drive
    cat x?? > /full/path/to/new_copy_of_huge_file

  5. #5
    Junior Member
    Join Date
    Dec 2003
    Posts
    3
    Thanks!
    Igor_m

Similar Threads

  1. ISO file download vs copying ISO from CD
    By stevesr0 in forum General Support
    Replies: 6
    Last Post: 02-20-2005, 05:59 PM
  2. How to boot as Debian after copying file to harddisk
    By winglion in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 11-07-2004, 08:54 AM
  3. Problem copying file to an external HDD...(Urgent)
    By jch02140 in forum General Support
    Replies: 4
    Last Post: 06-18-2004, 03:14 PM
  4. Copying windows System file
    By TMcGrath in forum Tips and Tricks
    Replies: 0
    Last Post: 02-21-2004, 10:41 AM
  5. HDD install hangs at 1-2 percent of file copying
    By PuTzHeAd in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 06-28-2003, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ... picture

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...

$89.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard picture

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard

$351.99