S
S
Sergey Goryachev2016-10-30 13:49:15
linux
Sergey Goryachev, 2016-10-30 13:49:15

Why are hidden files not added to the archive?

tar -cvpzf archive.tar.gz --exclude='node_modules' *

Why are hidden files not added to the archive?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Goryachev, 2016-10-30
@webirus

tar -cvpzf archive.tar.gz --exclude='node_modules' * .htaccess

While I will use this, there are not many hidden ones, they are always the same.
Suddenly there is a normal solution.

S
sim3x, 2016-10-30
@sim3x

*does not concern .*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question