Reading filename using regexp in Bash

I am writing a bash script that calls an external program which generates a zip file of the form ########.zip which the ‘#’s# can be any decimal digit. There is no way to predict what the digits will be. So far I have been able to get by using the regexp [0-9][0-9]*zip for things like… Read More Reading filename using regexp in Bash

Add new file to existing 7z archive, but place it in a subfolder

I have 7z archive that looks like this archive.7z / -Folder1 file1 -Folder2 file2 I know that I can add file3 to the root by 7za.exe a archive.7z file3 But I want to add file3 in Folder2. How to do that? >Solution : Answered here: https://superuser.com/questions/238399/how-to-specify-relative-path-in-7-zip-command-line/1097301 You can create directory structure similar to archive one… Read More Add new file to existing 7z archive, but place it in a subfolder