Red Bridge Internet is a San Francisco WordPress Consulting firm specializing in WordPress websites and WordPress Plugin Development. We're the ones you have been searching for.

tar exclude directory

You are browsing the search results for "tar exclude directory"

Exclude Directory from Tar

Very simple, but I always seem to forget the format: tar -cvvf name.tar dir/ –exclude dir_to_exclude directory You actually need to use the full path and sometimes swap the order: tar -cvf name.tar –exclude “/full/path/dir/exclude_this” /full/path/dir/ Here’s a couple more tar commands for good measure: tar -cvvf file.tar file.txt (tar file) tar -cvvf file.tar home/ [...]