Add new file to existing 7z archive, but place it in a subfolder [closed] - 7zip

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
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?

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 and compress it with required file inside

Related

How to mass copy folder names in a directory using the terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have folder A that contains a lot of other folders. I want to copy all the folder names so that I can paste them elsewhere. How can I do that using the terminal?
Folder A
- folder_1
- folder_2
- folder_3
When I copy I should have folder_1, folder_2, folder_3 in my clipboard.
Note: I only want the name and not the contents
My friend just showed me I can do this echo */ | pbcopy if I am in the folder A already.

copy file in command prompt with Arabic file name [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How can I copy a file with Arabic characters in the name via the command prompt?
I tried this:
copy C:\توزيع العمل.doc D:\توزيع العمل.doc
It didn't work. What I can do to solve this problem? Thank you.
Wrap file path to quotes. Like this "C:\توزيع العمل.doc".
So final command will look like.
copy "C:\توزيع العمل.doc" "D:\توزيع العمل.doc"

WIndows command line to copy files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am able to copy files and all its subdirectories using this command line in cmd
xcopy /s c:\users\desktop f:\desktopFiles
However, I don't want to copy media files like mp3 or mp4. Is there a command line for that. Thanks!
Create file with the extensions you don't want to copy, i.e.:
excludedExtensions.txt
.mp4\
.mp3\
Then you can use:
xcopy /s /exclude:excludedExtensions.txt c:\users\desktop f:\desktopFiles
You can read more about xcopy exclude here

how to extract bz2 files in command line of fedora system? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I just find tar, unzip, bunzip2, 7z, unrar, gunzip, all do not work for bz2 files.
Is there a simple method to do that?
Or where can I download a rpm file to install?
bunzip2 should work flawlessly, as should the -j option to tar. If they don't, you're doing something wrong, and should post the command line plus the error message.
If in doubt, run file on the archive to make sure it actually is compressed in bz2 format (and not just named like that).

how to copy all extensions bash script [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
So this is probably really easy but I'm new to bash scripts.
I wanted to copy all html files from the directory "/site" to the directory "/checkout/target/site"
I wrote single line of copy code for every one of them but the names keep changing, so I want to write something that copies anything that ends with .html basically
oh and the files might exist in the destination, so overwriting would be a lot better.
Thank you
If it is just in the directory /site (not sub-dirs), this makes it:
cp /site/*html /checkout/target/site/

Resources