reldnahkram: (Default)
[personal profile] reldnahkram
Apparently, cp craps out when you give it too many things to move. I think the magic number is around 5000. So, for those really big copy jobs, use:
find . -depth -print0 | cpio --null --sparse -pvd $TARGET
Yes, it does subdirectories.

How do I know this? I grouped all of my mail archives into one Maildir last night [1]. Before I did that, I moved /home to a new 100 GB partition [2]. And that's where learned that trick. Google "ubuntu home new partition"; the first result is what I used.

[1] Swarpa folks, I'll clean out my Maildir shortly and give you some MBs back - I'm just going to double check a few things first.
[2] No, I don't have that much mail. But I have a 500 GB hard drive, and it's still not all partitioned, so why not [3]?
[3] The best thing about a 500 GB hard drive? Unless you start messing around with uncompressed audio, lots of video, or serious photography, you don't have to delete anything. Ever. I have a partition that, among other things, has the entire contents of the hard drives that used to be in my two ancient servers. I could go through and delete the old OS installs, but why bother?

Date: 2008-02-23 06:04 pm (UTC)
From: [identity profile] jdh92.livejournal.com
Huh. I'm wondering if that's the cause of some of the swarpa/IMAP weirdness I've inadvertently caused.

Date: 2008-02-23 09:00 pm (UTC)
irilyth: (Only in Kenya)
From: [personal profile] irilyth
You might also enjoy rsync.

Date: 2008-02-24 07:42 am (UTC)
uncleamos: (Default)
From: [personal profile] uncleamos
The best thing about a 500 GB hard drive? Unless you start messing around with uncompressed audio, lots of video, or serious photography, you don't have to delete anything. Ever.

You think that, now.

Profile

reldnahkram: (Default)
reldnahkram

September 2016

S M T W T F S
    123
45678910
11121314151617
18192021 222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 11th, 2026 10:01 pm
Powered by Dreamwidth Studios