hi folks,
I've a problem creating an archive with the following "requirements":
example folder structure:
folder x
subfolder x/sub1
subfolder x/sub2
subfolder x/sub3
file x/f1.bla
file x/f2.bla
I have to create a an archive with root folder x and all it's subdirectories and files, but without the files in the root folder x.
in other words, I want to archive folder x but exclude any of the files x/f1.bla, x/f2.bla, ...
I have to use wildcards to exclude the files in the root, so I cannot exclude them explicitly by -xf1.bla -xf2.bla, ...
I have to include all subdirs and cannot rely on adding them explicitly by their foldername.
rar a -r x/*.* -xx/*.* doesn't work, because in this case: "no files to add"
using first rar a -r x/*.* and then with a second command trying to remove the files in the root does delete the whole archive:
rar d -r- x/*.*
doesn't work even when using -r- which should disable folder recursion.
any hints for solving this ? didn't finy anything related to my problem using google or searching this board. I've also spent quite some time in playing around with the rar options, but without success.
your suggestions are highly appreciated