I have a zip file (my.zip) consisting of 4 files:
- mydata_20050523-20130113.csv
- mydata_20050523-20130113FileHeader.csv
- my Data Association - Code Values.pdf
- my Data Association - Readme.pdf
out of which I need only one file: "mydata_20050523-20130113.csv". The other 3 are supporting documents.
I tried to use the command below:
7za x my.zip -x!*FileHeader.csv -x!*.pdf
This used to work previously as the files were directly extracted without any folder structure. However, now when extracting there is a directory structure which is extracted underneath which the files are present. So it is not working.
Could anyone help me out?
7za x
extract with full paths, and7za e
extract without paths? Try changing that.