[kwlug-disc] tar question regarding leading "/"

Jonathan Poole jpoole at digitaljedi.ca
Tue Oct 3 15:23:00 EDT 2023


Barley skimming.  I thought of a workaround I did years ago to solve something similar.  Rsync to a local directory and then tar it.  Again I barely skimmed your email but it may aid in this. 

Sent from my iPhone

> On Oct 3, 2023, at 4:50 PM, Ronald Barnes <ron at ronaldbarnes.ca> wrote:
> 
> 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.
> 
> 
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.




More information about the kwlug-disc mailing list