Reputation: 11
how do i tar a directory of files and folder without including one folder
Upvotes: 1
Views: 259
Reputation: 14534
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.
Upvotes: 2