/ Published in: Bash
Ubuntu 10.10
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Exclude only root folders 'files' and 'misc'. Don't touch folders like 'new/files' etc. tar --exclude={myfolder/files,myfolder/misc} -cvjf testarch.tar.bz2 myfolder/