I would like to compress file "./data/x.txt" to path "./data/x.7z".
7z a ./data/x.txt.7z ./data/x.txt
The file "./data/x.txt" holds
as opposed to just (what I want)
However, I would like 7z to ignore the path "./data" directory inside of the x.7z file. To clarify, I would like 7z to flatten the directory structure in the 7z file when adding x.txt.
Is this possible?