Answer the question
In order to leave comments, you need to log in
How to recursively compress certain files into tar?
There is a command like this:
tar -cf back.tar /home/*/*(*.json|*.yml)
It only works on the /home/*/ directory
How can I make it work on all /home/*/*/*/*/.... directories?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question