Rojillo de boquilla

viernes, mayo 01, 2009

Create folder structure without copying files (Linux)

This is the command to duplicate a folder structure in Linux, from folder A to B, without copying files, just folders:

(from the source folder)

$find * -type d -exec mkdir /targetFolder/\{\} \;
Publicadas por jmrlegido a la/s 17:32
Enviar esto por correo electrónicoBlogThis!Compartir en XCompartir en FacebookCompartir en Pinterest

No hay comentarios.:

Publicar un comentario

Entrada más reciente Entrada antigua Página Principal
Suscribirse a: Comentarios de la entrada (Atom)

Archivo del Blog

  • ►  2012 (5)
    • ►  noviembre (1)
    • ►  octubre (2)
    • ►  septiembre (1)
    • ►  enero (1)
  • ►  2010 (4)
    • ►  diciembre (1)
    • ►  octubre (1)
    • ►  septiembre (1)
    • ►  enero (1)
  • ▼  2009 (7)
    • ►  noviembre (1)
    • ►  octubre (1)
    • ►  septiembre (1)
    • ►  julio (2)
    • ▼  mayo (1)
      • Create folder structure without copying files (Linux)
    • ►  febrero (1)
  • ►  2008 (5)
    • ►  marzo (2)
    • ►  febrero (3)
  • ►  2007 (7)
    • ►  julio (2)
    • ►  mayo (1)
    • ►  abril (1)
    • ►  marzo (3)
  • ►  2006 (22)
    • ►  diciembre (3)
    • ►  octubre (4)
    • ►  septiembre (6)
    • ►  agosto (9)

Acerca de mí

jmrlegido
Ver mi perfil completo
Tema Ventana de imágenes. Con tecnología de Blogger.