Answer the question
In order to leave comments, you need to log in
How to get a tar file without paths and files/folders starting with a dot?
Shamanil does not work with this
tar -czvf backup.tar.gz -C /var/www/html . --exclude='.[^/]*'
tar -czvf backup.tar.gz /var/www/html/*'
tar -czvf backup.tar.gz -C /var/www/html .
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