Did you know?
Feb. 23rd, 2008 12:49 pmApparently, 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:
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?
find . -depth -print0 | cpio --null --sparse -pvd $TARGETYes, 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?
no subject
Date: 2008-02-23 06:04 pm (UTC)no subject
Date: 2008-02-23 09:00 pm (UTC)no subject
Date: 2008-02-24 07:42 am (UTC)You think that, now.