duplicating/ copying existing file structure without files?

Discussion in 'NZ Computing' started by ufo_hk, Jan 20, 2004.

  1. ufo_hk

    ufo_hk Guest

    Can anyonoe recommend a quic kway to duplicate a folder structure from one
    drive to another without any files being copied across?

    Thanks in advance.
    ufo_hk, Jan 20, 2004
    1. Advertisements

  2. ufo_hk

    Ewen McNeill Guest

    (cd /sourcedrive && find . -type d) | (cd /destdrive && xargs mkdir)

    Ewen McNeill, Jan 20, 2004
    1. Advertisements

  3. ufo_hk

    Dave Taylor Guest

    Dave Taylor, Jan 21, 2004
  4. ufo_hk

    ufo_hk Guest

    Excellent - thats done it nice and easy too.

    ufo_hk, Jan 21, 2004
  5. ufo_hk

    Dave Taylor Guest

    No problem, glad to help.
    Dave Taylor, Jan 22, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.