2

I tried to unrar the file Starbound 1.2.2.rar with the command

unrar x Starbound 1.2.2.rar

and many varitions, how can I unrar this file?

dessert
  • 39,392
  • 12
  • 115
  • 163
tbone
  • 49
  • 1
  • 2
  • 5
  • Have you tried unrar x "Starbound 1.2.2.rar"? What happens when you try? – robosnacks Dec 08 '17 at 23:54
  • It says : invalid archive 'x' : bad adress, then gives me the usage – tbone Dec 09 '17 at 16:31
  • 1
    Possible duplicate of [How to access files/directories with spaces in the name?](https://askubuntu.com/questions/516772/how-to-access-files-directories-with-spaces-in-the-name) – Eliah Kagan Dec 11 '17 at 02:41

1 Answers1

3

Your filename has a space in it. Try:

unrar x Starbound\ 1.2.2.rar

or

unrar x "Starbound 1.2.2.rar"
N0rbert
  • 97,162
  • 34
  • 239
  • 423
  • 1
    The slash is necessary because without escaping the space `unrar` tries to open the two files `Starbound` and `1.2.2.rar` – and fails. An alternative is quoting, either `"Starbound 1.2.2.rar"` or `'Starbound 1.2.2.rar'` is possible here. You're welcome to add this explanation to your answer. – dessert Dec 09 '17 at 09:40