Posted By

graceman9 on 05/23/11


Tagged

tar exclude


Versions (?)

linux tar exclude folders


 / Published in: Bash
 

Ubuntu 10.10

  1. # Exclude only root folders 'files' and 'misc'. Don't touch folders like 'new/files' etc.
  2. tar --exclude={myfolder/files,myfolder/misc} -cvjf testarch.tar.bz2 myfolder/

Report this snippet  

You need to login to post a comment.