unzip how to trim top directories
Unfortunately, you can't. Your only real option is to just move them after they are extracted.
You might want to try the tar
command, which has a --strip-components
feature and can operate on zip files.
Unfortunately, you can't. Your only real option is to just move them after they are extracted.
You might want to try the tar
command, which has a --strip-components
feature and can operate on zip files.