Displaying 2 results from an estimated 2 matches for "rsnap_2xsmisc_exclude".
2015 Apr 13
4
How to discern when like dir names exist in 2 places
Hi,
On Mon, 13 Apr 2015 12:59:07 -0400 Kevin Korb wrote:
> Hmmm, according to my interpretation of the man page (I am on 3.1.1)
> that is supposed to work however when I test using the "-/
> /etc/passwd" example the / seems to have the same effect as commenting
> the line. I get /etc/passwd copied whether the source is / or /etc.
I guess that this -/ syntax is not usable
2015 Apr 14
0
How to discern when like dir names exist in 2 places
...ync_short_args HERE
rsync_long_args HERE
(The white space before HERE is reqiured to be a tab)
So I tried to use your suggestion by placing it in the long_arg
section like so:
------- ------- ---=--- ------- -------
rsync_long_args --filter="merge /etc/rsnap/ex/rsnap_2xsMisc_exclude" --stats --delete --numeric-ids --delete-excluded
------- ------- ---=--- ------- -------
(The file listed there (/etc/rsnap/ex/rsnap_2xsMisc_exclude) contains
your suggestion)
All those annotated like this:
- /dir/*
Are excluded, but in both runs... that is, any...