Blackhold

zip excluir directorios

Posted on abril 5th, 2011 by admin

Para excluir directorios en un zip hay 2 formas:

$ zip fichero.zip directorio/* -x@excluir.lst

separas los directorios a excluir con saltos de línea

o

$ zip fichero.zip directorio/* -x directorio/dir1/* directorio/dir2/dir3/* directorio/dir4/*

o

$ zip fichero.zip ./* -x ./dir1/* ./dir2/dir3/* ./dir4/*

This entry was posted on dimarts, abril 5th, 2011 at 13:08 and is filed under bash. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Response

« »

guy fawkes