On 8/8/19 3:06 PM, Patrick Dupre wrote:
> Hello,
>
> I do not understand,
> The command:
> tar -cf /mnt/backup/home.tlz --lzma pdupre  --exclude-caches-all 
> --exclude='pdupre/Nextcloud' --exclude='pdupre/.mozilla'
> returns:
>
> tar: --exclude-caches-all has no effect
> tar: --exclude ‘pdupre/Nextcloud’ has no effect
> tar: --exclude ‘pdupre/.mozilla’ has no effect
> tar: Exiting with failure status due to previous errors
> tar: pdupre/Nextcloud: file changed as we read it
>
> What is wrong?

I'm surprised you didn't get the error:

tar: The following options were used after any non-optional arguments in 
archive create or
update mode.  These options are positional and affect only arguments that 
follow them. 
Please, rearrange them properly.

tar -cf /mnt/backup/home.tlz --lzma --exclude-caches-all 
--exclude='pdupre/Nextcloud'
--exclude='pdupre/.mozilla' pdupre make more sense.

-- 
Right: I dislike the default color scheme Wrong: What idiot picked the default 
color scheme
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
  • tar Patrick Dupre
    • Re: tar Ed Greshko

Reply via email to