[kwlug-disc] tar question regarding leading "/"
Ronald Barnes
ron at ronaldbarnes.ca
Tue Oct 3 15:19:36 EDT 2023
Ronald Barnes wrote on 2023-10-03 12:08:
> It worked on the apache file, not the systemd file.
One thing I just noticed: if I remove the wildcard from the systemd unit
file, it works without the leading "/":
# tar -v --directory=/ -pjcf /tmp/mailman-test.tar
lib/systemd/system/mailman.service
etc/apache2/sites-available/mailman2.conf
lib/systemd/system/mailman.service
etc/apache2/sites-available/mailman2.conf
Adding "--wildcards" as an option to tar did not help.
More information about the kwlug-disc
mailing list