just tested: "-ir instead of "-r" runs without error message, but any other files or subfolders from Rootdir are missing
Hello Deyan, the folder structure itself is fixed in its basic structure but each result data set created by the customer has a customized name. It will be located in a "Results" folder that is part of that fixed basic structure. "Rootdir" name & location is constant. "Dir" location, name and subdir level remains constant. I´m facing 3 tasks that I don't know how to solve in calling 7z only once: Add "Rootdir" with all subfolders and files to the archive exclude all files (*) in "Dir" add all files...
Hello Deyan, the folder structure itself is fixed in its basic structure but each result data set created by the customer has a customized name. It will be located in a "Results" folder that is part of that fixed basic structure. "Rootdir" name & location is constant. "Dir" location, name and subdir level remains constant. I´m facing 3 tasks that I don't know how to solve in calling 7z only once: Add "Rootdir" with all subfolders and files to the archive exclude all files (*) in "Dir" add all files...
Hello Deyan, thank you for not giving up on me. First of all I need to apologize to you. Yesterday evening I thought more about your 1st reply and I understood the reason for our misunderstanding was my failure to describe my use case correctly. I tried to simplify, but I oversimplified. This guided you into the wrong direction. So I'm sorry for that. I need to provide more details. "Dir" is not the root directory that shall be backed up, but is a sub-sub-sub-sub-...directory of "Rootdir\" that shall...
Hello Deyan, thank you for not giving up on me. First of all I need to apologize to you. Yesterday evening I thought more about your 1st reply and I understood the reason for our misunderstanding was my failure to describe my use case correctly. I tried to simplify, but I oversimplified. This guided you into the wrong direction. So I'm sorry for that. I need to provide more details. "Dir" is not the root directory that shall be backed up, but is a sub-sub-sub-sub-...directory of "Rootdir\" that shall...
As 7zip is called from an already existing application I can't change to using file list files instead of switch commands, but I think that's not the important point. My problem is: a) it's operating under Windows system, so ALL files have a file extension. And all extensions are the same: ".xml" b) I need to EXclude all files from a specific folder that do NOT match the name *Name*. Unfortunately the exclude switch allows only to exclude files that DO match some expression, I don't find a "not"...
As 7zip is called from an already existing application I can't change to using file list files instead of switch commands, but I think that's not the important point. My problem is: a) it's operating under Windows system, so ALL files have a file extension. And all extensions are the same: ".xml" b) I need to EXclude all files from a specific folder that do NOT match the name *Name*. Unfortunately the exclude switch allows only to exclude files that DO match some expression, I don't find a "not"...
As 7zip is called from an already existing application I can't change to using file list files instead of switch commands, but I think that's not the important point. My problem is: a) it's operating under Windows system, so ALL files have a file extension. And all extensions are the same: \".xml\" b) I need to EXclude all files from a specific folder that do NOT match the name *\Name*. Unfortunately the exclude switch allows only to exclude files that DO match some expression, I don't find a "not"...