The -s option is used to make search-and-replace modifications to filenames as they are archived; if the resulting filename is an empty string the file is not archived at all. It's a bit cumbersome but it works.
Failing that I would personally choose a combination of find and cpio. Let me know if you want details on that solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.