Extract specific folder from the old archive into new
tar -c -f new.tar --include='*foo-bar-dir*' @/Volumes/Backup/Workspace.tar
From https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/tar.1.html
Written by Yevgeniy Viktorov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tar
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#