I have this warning message about sockets with tar:
ERRO[0000] Can't add file /home/ubuntu/backup-db/.bunion.sock to tar: archive/tar: sockets not supported
how can I tell tar
that I don't care?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this community--exclude
is the command line option.
find
piped into a file and use that as the list of files to tar, e.g. tar Jcvf myfile.tar -T <(find . -type f)
(untested of course)
– Aaron D. Marasco
Oct 5 '19 at 23:30
--warning=no-file-ignored
– steeldriver Oct 4 '19 at 21:59