-
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

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY
$10.00

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A
$119.99

32GB KIT - 2x SK Hynix 16GB 2Rx8 PC4-2666V DDR4 SODIMM Laptop Memory RAM
$99.99

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory
$189.00

SK Hynix 256GB (4x64GB) DDR4 3200MHz PC4-25600 ECC RDIMM 288-Pin Workstation RAM
$1950.00

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00