Re: cannot exclude specific subdirectory with -P

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Which dar version are you using?

Can you explain what is not working for you?
Can you also simplify your example as much as possible, removing what
is not significant from what is significant?

Regards,
Denis

On 10/02/2019 07:50, YAMAMOTO.Taku wrote:
> Hi,
> 
> I'm having problem. -P doesn't work following command line. -- # cd
> / &&  mkdir -p /mnt/Backup/`hostname`/`date -I` && \ nice time dar
> -v -z9 \ -c /mnt/Backup/`hostname`/`date -I`/`hostname`_`date
> -I`_full-home \ -R / \ -g etc \ -g home/ \ -g var \ -g mnt/Users -P
> "*/AppData/*" \ -P "*/Application Data/*" \ -P "var/cache/*" \ -P
> "*/.mozilla/*/Cache/*"  -P "*/.mozilla/Cache/*" -P "*/download*/*"
> -P "*/tmp/*" \ -P "*/.ccache/*" -P "*/.elmo/cache" -P
> "home/*/tmp/*" \ -P "home/taku/.cache" \ -P
> "home/*/.emacs.d/semanticdb/" \ -P "*/Downloads/*" \ -P
> "*/Archives/*" \ -P "*/Videos/*" \ -P "*/Music/*" \ -P
> "*/bzr_work/*" \ 2>&1 | tee /home/taku/log/backup/`hostname`_`date
> -I`_full-home.log; --
> 
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAlxggs0ACgkQCDGwvQPY
sYKDvw//Zic90XCbYHHAEn5pEs9I/ixiktirwcpNjh0b5NsHsYwkhhJ815sFQO3/
E6FE/qLd3NXfdQDWTvbUfaN+5T/aqSRaP9ZHd2ADNwcyzNgHfVK4JNCdj/nZbWto
Bj0zU4h4riYy2tEZIJwNOvG+8RktatD30jeco9Wjk+LThSXHjr6hFwpW44UtLLr4
vRdLrqJj+61ONqvIq9oO9QntQA1xpNSuEfq8aW8q+1DOyDb0ubZw8WG/Hj20gQr8
Axutb4CtldceFC5moxMX6KuoSZqubJhwmaSAMWvOU3ydIW3yZiqmtgtiEAKDiiT0
kREBJJTG9FmFJJwP02F7ZtCwi4cszpw9uqbVJlC8KT2Ra4xjaHXhvGoZS+Ikeekt
LQfsQO4HoSfWzk1yjRLXcq4xSku1XcQaLYNvnOHVv9o2iMN97IlCMtLPVrMvMIfX
Bz1ecB8ZvhEwiJQCP2jhe8g0x0199JG0YW50tugqSxsbze1EtWtyR55tcugYfQMt
ctrNqtWb+JY5sET4JNCm7ebo8TH81r3Dg+dBnAvbVwElCwXqpjkFZh5lDF0OoEqy
WtKAzfW53BgMMRvjqlij+Deuwmy7L/D0BdKhp3YpzhwkBIbKI7gDGta+MHl7+mus
4hXaiQyAEQ9xhQL+cLeNhU+jVpP6KwItswkl56aPEMheaS8Qf5I=
=5H9A
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.