Possible Duplicate:
Can I extract a specific folder using tar to another folder?
I am new to world of Linux and would like to know if I can extract a specific file or directory by giving it a new name or path. For example if my archive has the folders sample1, sample2 and sample3, I would like to be able to extract sample3 however as sample4. The same question applies to files.