-
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
-
Senior Member
registered user
I guess your source file is on NTFS, but the target fat FS has a file size limit of 2Gb. See here.
-
thanks
yes, you are right
Thnx!
igor_m
-
Senior Member
registered user
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
-
Similar Threads
-
By stevesr0 in forum General Support
Replies: 6
Last Post: 02-20-2005, 05:59 PM
-
By winglion in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 11-07-2004, 08:54 AM
-
By jch02140 in forum General Support
Replies: 4
Last Post: 06-18-2004, 03:14 PM
-
By TMcGrath in forum Tips and Tricks
Replies: 0
Last Post: 02-21-2004, 10:41 AM
-
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
-
Forum Rules
![Western Digital WD140EDGZ 14 TB, Internal, 5400 RPM, 3.5 inch Hard Drive picture](/store/img/lX8AAOSwqJdmcZiO/s-l225//Western-Digital-WD140EDGZ-14-TB-Internal-5400-RPM-.jpg)
Western Digital WD140EDGZ 14 TB, Internal, 5400 RPM, 3.5 inch Hard Drive
$99.00
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/TIMAAOSw969gDuvf/s-l225//HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
![Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5](/store/img/tFMAAOSwjDVmceFV/s-l225//Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
![Hitachi 4TB 3.5](/store/img/Rm0AAOSwyN5ff32u/s-l225//Hitachi-4TB-3-5-Hard-Drive-HUS724040ALE640-Ultrast.jpg)
Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K
$49.95
![HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5](/store/img/buwAAOSwDghlwalj/s-l225//HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/de0AAOSwcJJlDe~2/s-l225//Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![1TB HDD/SSD 2.5](/store/img/IlgAAOSwtgpmKHfn/s-l225//1TB-HDD-SSD-2-5-SATA-Hard-Drive-with-Windows-10-or.jpg)
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$18.99
![Seagate Exos X20 18TB SATA 6Gb/s 3.5](/store/img/zZIAAOSwgcxj0FUO/s-l225//Seagate-Exos-X20-18TB-SATA-6Gb-s-3-5-Enterprise-Ha.jpg)
Seagate Exos X20 18TB SATA 6Gb/s 3.5" Enterprise Hard Drive - ST18000NM003D
$168.00
![SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5](/store/img/UPoAAOSw9Hlmedgx/s-l225//SAS-HGST-Ultrastar-7K4000-HUS724040ALA640-0F14688-.jpg)
SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD
$19.99
![Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5](/store/img/xy8AAOSwuMhl8Y7x/s-l225//Seagate-ST8000NM0055-8TB-7200RPM-256MB-SATA-6-0-Gb.jpg)
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.41