how do i tar a directory of files and folder without including one folder
how do i tar a directory of files and folder w开发者_如何学运维ithout including one folder
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.
精彩评论