A
A
Andrey Matsovkin2011-11-14 16:48:20
linux
Andrey Matsovkin, 2011-11-14 16:48:20

rar on linux how?

The question may seem primitive, but as a person who is not familiar with FreeBSD, it has so far puzzled me.
The bottom line is unpacking certain files (by mask) from the RAR archive.
I have a Linux system (Linux 2.6.38.8-2-vs2.3.0.37-rc17-blkio)
Installed RAR (RAR 3.80 beta 3)
Command: rar e -y path/archive.rar textfile.txt path_to_extract/
works by extracting the file.
Command: rar e -y path/archive.rar *.txt path_to_extract/
answers that the file is not found (No files to extract)
Question: How to set the mask correctly?
ps: options to install a different version, install unrar, use a list file with the names of files to be extracted are not considered yet. It is necessary to deal with the task of file masks.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ano, 2011-11-14
@macik_spb

You need quotes around parameters with masks, otherwise the shell will parse them.

U
uver, 2014-01-14
@uver

is there any right \ desire to put 7z?
it is easier to solve tasks with archiving with it + it supports multiprocessor work and you can start up a large archive for several processes (relevant for a large backup)
for example
www.freebsd.org/cgi/man.cgi?query=7z&manpath=FreeB...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question