Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: copying a million small files between disks?
- X-seq: zsh-users 12202
- From: Steve Youngs <steve@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: copying a million small files between disks?
- Date: Tue, 13 Nov 2007 01:24:27 +1000
- Cancel-lock: sha1:mRq+zY5i9q9/1+eWYXhc2L6I1mc=
- Keywords: tar
- Mail-copies-to: never
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Linux Users - Fanatics Dept.
- References: <6a42eec70710311440u52556985wda68ce326f4a0417@xxxxxxxxxxxxxx> <Xns99E698CE57087zzappergmailcom@xxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message
* zzapper <david@xxxxxxxxxx> writes:
> sam reckoner wrote in news:6a42eec70710311440u52556985wda68ce326f4a0417
> @mail.gmail.com:
>> I'm not exaggerating. I have over one million small files that like
>> to move between disks. The problem is that even getting a directory
>> listing takes forever.
> Zip up the whole file structure, then just transfer the Zip file.
I use tar and a pipe, but virtually the same thing...
$ tar cf - olddir | (cd newdir ; tar xf -)
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Te audire no possum. |
| Musa sapientum fixa est in aure. |
|----------------------------------<steve@xxxxxxxxxxxxx>---|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: The SXEmacs Project <http://www.sxemacs.org>
Comment: Eicq - The SXEmacs ICQ Client <http://www.eicq.org/>
iEYEARECAAYFAkc4cCwACgkQHSfbS6lLMANJ+QCgimKxG9JsEtqnk0yiAjR69s6X
8/QAn1M+iBj9b9M/q734Jbmcl6AKhClr
=F3/E
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author