In the current directory I have a file named "file.txt".
How to create an archive with this file in a directory "dir", so when the archive is unpacked the "dir" directory will be created with the "file.txt" in it?
Preferable it should be through a command line option.