How do I tar a list of files and folders (all in the same directory) with the exclusion of a single directory (which contains a huge amount of data)
tar --exclude=PATTERN xvzf nameof.tar.gz ./*
PATTERN can be the directory name. GNU tar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With