106
14
I have some scripts and files located in various locations like:
/etc/dir1
/var/www/html
/home/somedir
I want to make a tar file so that it copies files and folders with the location structure. When I untar to another location, all the files will be copied to their respective locations in the correct paths; same as where tar was made.
Similar: http://unix.stackexchange.com/questions/178189/compressing-multiple-files-in-different-folders-without-folder-structure
– trante – 2015-01-08T18:57:47.700