Is it possible to exclude using a one liner? #8754
Closed
VasilisThePikachu
started this conversation in
General
Replies: 2 comments 1 reply
-
Maybe rather give your backup sets different names and derive a filename for |
Beta Was this translation helpful? Give feedback.
1 reply
-
So I accidentally found out about |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to make a general purpose script that i can quickly template on my systems and take backups
I set it up so that I have a
vars.sh
file that sets environment variables and also contains the list of stuff to backup etc, as an example:TO_BACKUP
works fine like this, howeverTO_IGNORE
does not, I tried wrapping it in parentheses as seen above, but it did not do the trickI see everywhere else for every directory people provide another
--exclude
which kind of messes up my way I want to do my script of only needing to modify one file.Is it possible to somehow do what I need here? Provide it all the excludes via an environment variable?
Beta Was this translation helpful? Give feedback.
All reactions