tags:

views:

27

answers:

1

how do i tar a directory of files and folder without including one folder

+2  A: 

In a UNIX shell, you would use:

tar --exclude {dir-name} {dir-to-tar} > {tar-file}

where {dir-name} is the directory (or file) to exclude.

andrewmu
afaik I know --exclude is exclusive to gnu tar.
pra