This worked well for me: tar -cvf home.tar /home/want_this/ –exclude '/home/dont_want_this/*' …

Friday, 3rd May 2024

Comment on How to exclude files and directories from tar archive on Debian Linux / (Cannot open: No such file or directory) cause and solution by ezMaverick.

This worked well for me:
tar -cvf home.tar /home/want_this/ –exclude '/home/dont_want_this/*'

Share this on:

Comments are closed.