Some neat Linux commands, part 4

How to TAR more than one folder at the same time, and all that is under this one folder, while preserving ownership :
#tar cvfp name-of-the-new-file.tar /apsolute-path-to-folder
c – create the archive
v – verbose
f – specify the filename for the new archive
p – preserve ownership data

This entry was posted in Linux and tagged . Bookmark the permalink.

Comments are closed.