Is there any way (probably a script?) to turn this command
in something like a template which would require for me to manually enter the target file and the source dir?
Let me show you an example of what I wanna do. For instance, right now I'm repacking all of my Windows games to work in linux and when I'm done, I'm archiving them in 7z files. But it can get tiresome to write the same thing every time. So, I'd very much like to have to enter only the target and the source dir while the rest is used as a template. I'm guessing it would be some sort of a script similar to the start scripts for games but IDK enough about scripts to do it myself. It would probably be something like "7z a $targetfile $sourcedir -mt --mt=8 && exit".
So, if you understood what I'm asking, is that even possible?
Code:
7z a -mt -mmt=8 && exit
in something like a template which would require for me to manually enter the target file and the source dir?
Let me show you an example of what I wanna do. For instance, right now I'm repacking all of my Windows games to work in linux and when I'm done, I'm archiving them in 7z files. But it can get tiresome to write the same thing every time. So, I'd very much like to have to enter only the target and the source dir while the rest is used as a template. I'm guessing it would be some sort of a script similar to the start scripts for games but IDK enough about scripts to do it myself. It would probably be something like "7z a $targetfile $sourcedir -mt --mt=8 && exit".
So, if you understood what I'm asking, is that even possible?