I'm trying to figure out how to utilize the -si switch in the command line when using 7zip in Linux, specifically in conjunction with the find command. My current command is: `find . -type f -exec ./7zz a -tzip test_archive -si "folder_1/{} < ./{}`. Can anyone help me optimize or correct this?
3 Answers
It seems like the command might need more context. What exactly are you aiming to achieve with the 7zip command? That way, folks can provide better guidance!
Don't forget to check the man pages for both `7z` and `find`! They'll have all the information you need about switches and how to use them effectively. If you specify more on what you're trying to do, that'd help us help you better!
Good idea! I'll check them out for more details.
You might want to check out the official GNU Find Utilities manual for a detailed guide on running commands with find. It can clarify how to properly format your command!
That's a great resource! Just ensure you follow examples closely to adapt them to your needs.

Thanks for the hint! I'm trying to archive specific files from a particular folder.