User Activity

  • Posted a comment on discussion Open Discussion on 7-Zip

    Yes, the "r" switch have proirity in 7-Zip, as I know. Can you use such command then: 7za a archive.7z -r C:\Roortir\* -xr-!C:\Rootdir\*\Dir\* -spf -spm && 7za a archive.7z C:\Rootdir\*\Dir\*Template*.txt -spm -spf

  • Modified a comment on discussion Open Discussion on 7-Zip

    Hi Peter, You don't need to aplogize; I'm just trying to resolve the problem from my point of view. Let's try to sum it up: there is a folder "Rootdir" with many subfolders; there are multiple levels of subfolders in every subfolder of "Rootdir"; there are many files in the "Rootdir" and every subfolder; the files are different types and their names differ; there is a folder "Dir" somwhere in the tree; the folder "Dir" contains the target files along with other random files (and probably subfolders);...

  • Posted a comment on discussion Open Discussion on 7-Zip

    Hi Peter, You don't need to aplogize; I'm just trying to resolve the problem from my point of view. Let's try to sum it up: there is a folder "Rootdir" with many subfolders; there are multiple levels of subfolders in every subfolder of "Rootdir"; there are many files in the "Rootdir" and every subfolder; the files are different types and their names differ; there is a folder "Dir" somwhere in the tree; the folder "Dir" contains the target files along with other random files (and probably subfolders);...

  • Modified a comment on discussion Open Discussion on 7-Zip

    Why don't you include only matching files then? Something like: 7z a archive.7z D:\bdir\*Name*.xml Or (if there are several patterns): 7z a archive.7z D:\bdir\*Name1*.xml -i D:\bdir\*Name2*.xml -i D:\bdir\*Name3*.xml -spf (Use fully qualified file paths) switch - It's from the 7-Zip Help file.

  • Posted a comment on discussion Open Discussion on 7-Zip

    Why don't you include only matching files then? Something like: 7z a archive.7z D:\bdir\*Name1*.xml -i D:\bdir\*Name2*.xml -i D:\bdir\*Name3*.xml -spf (Use fully qualified file paths) switch - It's from the 7-Zip Help file.

  • Modified a comment on discussion Open Discussion on 7-Zip

    I'm using the following command and rules: 7za.exe a archive.7z @inclnr.txt -x@exclnr.txt -ir@inclwr.txt -xr@exclwr.txt -spm -spf inclnr.txt - include list, no recursive exclnr.txt - exlude list, no recursive inclwr.txt - include list, recursive exclwr.txt - exclude list, recursive These files contains full paths with the following rules: add all files: inclnr.txt (or inclwr.txt): D:\bdir\* exclnr.txt and exclwr.txt are empty add only files wich have some extension: inclnr.txt (or inclwr.txt): D:\bdir\*.*...

  • Posted a comment on discussion Open Discussion on 7-Zip

    I'm using the following command and rules: 7za.exe a archive.7z @inclnr.txt -x@exclnr.txt -ir@inclwr.txt -xr@exclwr.txt -spm -spf inclnr.txt - include list, no recursive exclnr.txt - exlude list, no recursive inclwr.txt - include list, recursive exclwr.txt - exclude list, recursive These files contains full paths with the following rules: add all files: inclnr.txt (or inclwr.txt): D:\bdir* exclnr.txt and exclwr.txt are empty add only files wich have some extension: inclnr.txt (or inclwr.txt): D:\bdir*.*...

  • Posted a comment on discussion Help on 7-Zip

    7z a abc.7z -r C:\a\333.txt Do search for files and/or* folders named 333.txt in folder C:\a\ and search in subfolders too. 7z a abc.7z C:\a\333.txt 7z a abc.7z -r- C:\a\333.txt Do search for files and/or* folders named 333.txt in folder C:\a\ but don't search in subfolders. *and/or is defined by the -spm switch

View All

Personal Data

Username:
ddelchev
Joined:
2022-02-12 19:47:32.076000
Location:
Bulgaria / EEST
Gender:
Male

Projects

  • No projects to display.

Personal Tools