X
X
XBAtman2015-12-03 10:56:12
bash
XBAtman, 2015-12-03 10:56:12

Why doesn't tar archive a two-word folder?

Guys, tell me how to archive a folder whose name consists of two words (for example, Desktop) tar -cvzf /home/user/Desktop \ desktop so it gives an error, I tried with a slash

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Noskov, 2015-12-04
@Ahrenizm

checked now:
nano '/root/123 123'
tar czvf 123.tar.gz '123 123'
tar xzvf 123.tar.gz
nano 123\ 123

unpacked and packed successfully.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question