Mailinglist Archive: opensuse (1696 mails)

< Previous Next >
Re: [opensuse] rar question
  • From: Anders Johansson <ajohansson@xxxxxxx>
  • Date: Sun, 26 Jul 2009 22:12:18 +0200
  • Message-id: <200907262212.18860.ajohansson@xxxxxxx>
On Sunday 26 July 2009 21:54:11 James Hatridge wrote:
Hi all!

How do I get rar to store all the sub-dir?
I use:

rar a WHB.rar *.*

which gets only the files in the dir that I'm in. I also want the subs too.

If you do *.* then it only gets the files with an extension. Try

rar a WHB.rar *

The single asterisk should get everything, except the files that start with a
dot (if you want those too, do "shopt -s dotglob" before running the rar
command)

Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References