Say, if I want to copy /etc/bin to a folder while maintaining the file attributes as well as parent directories. [The target folder should not just contain bin folder but /etc/bin.]Is the possible to do this? Do zipping and unzipping using tar works?
Copying files while maintaining file attributes
shell script;tar;cp