Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: copying a million small files between disks?



-----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